Hey guys, I just had snap onsite.
1. Round 1 was with a SWE manager. I can tell she's super smart. Kinda got an Amanda Waller vibe from her except she's Asian LMAO. Her question was a LC Hard DP off the bat. Similar question would be the Maximum cost path problem on LC except in 2D form.
I think I did well with this one. I got the optimal cost answer quickly...but she changed her requirements to return the optimal path. I coded up the correct answer for this too. I don't think it went perfectly, but I was able to get the optimal path solution. There were some optimizations I could've done, but I overlooked them. Overall I feel I did well. I give myself a 8/10 here.
2. Round 2 was lunch with an ML Engineer. Solid guy. Really had fun talking to him and he was like a mentor figure. Reminded me of the robot in Interstellar.
3. Round 3 was a video conference with another SWE manager from Santa Monica. We spent 25 minutes talking about projects...so we started late on the coding questions. First question was a LC DP Easy problem. Second question was a LC DP Medium...not sure why Snap is obsessed with DP questions. I coded up the first and got the approach and got to 80% of the coding in the second...but couldn't finish due to time constraint. Interviewer verbally said I did a good job given the time constraint. I hope he meant it because I felt a little bad for not finishing the problem completely. I give myself a 7/10.
4. Round 4 was system design! Wasn't anything covered by Grokking, but reading up on Grokking will certainly give you the tools to figure things out. This guy reminded me of the Riddler except not evil. Had a great time with him. I give myself 7/10
5. Round 5 was the final round with a SWE. Seemed like a solid guy. Reminded me of a frat guy who plays a lot of video games. LC Medium binary search. I had a small bug in the logic of my code that he pointed out. Ehhhhh...it was a small error in index updating (subtracting instead of adding). Aside from this, I think it went pretty well. Got a working solution. I would've given myself a 10/10, but because of this fucking bug, I give myself a 7/10.
So that's it guys. Not sure how it will go. I got the approach and a working solution (except for question 2 in round 2 which was 80% done due to time constraint) for all the problems. I don't know if Snap rejects you if you have a single bug in your code...seems a bit harsh. But who knows.
Some things I noticed:
Snap managers are very smart, thorough in coding, and senior folks. Damn am I impressed!
Place looks a bit dead...would like to see more youngsters and non-Asians/Indians. Not being racist, just want to see a more diverse group of folks in engineering.
Keep us posted here regarding the result, please!
Whenever I hear about people getting DP problems, I think of the Amazon guy who mentioned “there are two types of people, one who has seen the problem before and the other who’s just going to stare at the whiteboard for 60 mins”!