I used to have this code challenge for 1 hour interviews, and would break it into those 3 parts. Very few candidates would complete the full scope within one hour. Chat GPT solved the full scope in less than 30 seconds: