Pregunta de entrevista de NTENT

time complexities for array sorting? and few more questions