The question was the "URL maze, find the exit" problem that's already known on this forum. Right from the start we were just talking through it, testing the URL, then I wrote the program, and finally wrote a BFS solution that passed.
The follow-up: they swapped in a different URL and had me run my Part 1 solution against it, and this time it didn't pass — I needed to handle status codes like 503 and 401. That part wasn't really a problem either. Then when running it, because there was a lot of debug info being printed, I missed that some URLs were returning a key. I spent a long time confused about it, and only caught it after checking the printed output more carefully. After that it was capture the key, construct the headers, then make the request. On the final run there was a bug I didn't have time to fix — only 5 minutes were left, so the interviewer said let's stop here, and left the last 5 minutes for me to ask questions about Ramp. The interviewer's background was very strong, and I'm guessing they felt my debugging wasn't strong enough — that I didn't catch the missing key sooner.
A day later the recruiter said the eng team had decided not to move forward, but hoped to stay in touch.
Discussion
Loading comments…