Pregunta de entrevista de Adobe

Implementation of power function, Ancestor node, first dissimilar element.in the array