ZS Associates Interview Question

Burning Rope riddle in telephonic round.