Goldman Sachs Interview Question

Puzzles similar to those on geeksforgeeks