Replit interview question

Q: Three coding questions of increasing scope/complexity/length.