Citi Interview Question

Basic DSA questions, puzzles questions