Meta Interview Question

Explain the algorithm on white board.