Pregunta de entrevista de HackerEarth

Based On Array, Bitwise Operators, Trees And Graphs