Replit Interview Question

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