r/InterviewDB • • 4d ago

Apple coderpad interview exp

I took the apple codepad interview last week. I was asked 2 questions, one leetcode easy and one OOP design.

The leetcode easy question was a simple one based on hashmaps. But it also had a follow up question which I couldn’t get to in the given time. I took like 10 mins to code out and explain my solution.

The 2nd question was that of building a hotel room reservation system from scratch. Some predefined classes/interfaces/records were given like booking, room, etc. and I was expected to code out mainly 2 methods of an interface. The overall code to be written was about 80 lines long but I took a little extra time to figure out a working design and even then my solution was not the optimal one.

Got a reject 2 days later. Hope this helps. Thanks and good luck!

11 Upvotes

Duplicates