edureka! interview question

Sand glass puzzles