Citi Interview Question

2 Puzzles, 1 DSA, OOPS, Resume based