Verizon interview question

They asked some puzzles.