ZS Associates Interview Question

My SQL queries and Puzzles from gfg platform