Whatfix Interview Question

5. Easy to Medium Puzzles.(can check out GFG).