The industry has changed so much since I last interviewed. I had an interview with Airbnb few days back and the interviewer was straight up rude with the worst communication skills ever. Also asking LC hard questions in tech screen and expecting a bug free code which runs all test cases in 40 mins is impractical. What's up with this crazy culture. If you haven't seen a similar question, I doubt it's solvable within that timeframe. The interviewer didn't even discuss the solution. Forced me to code it immediately since we had limited time. @airbnb
What Jumanji jungle were you living in?
I totally got your point, but nowadays everyone is leetcoding, so the bar/expectation is high
Well, LC hard doesn't mean lots of code. The find median in data stream problem for example is LC hard, but 10 minutes to code up. Just keep practicing.
It's not just code. You need to come up with the optimized solution and code it up. 40 mins seem unfair to me
If you don't know the problem, it's unlikely that you would be able to get it. Practice is needed. Also consider if PM or TPM jobs might fit your current skillset better.
Airbnb is notorious for this - another friend interviewed and a manager.She asked a design question and then she was on her phone , all through the interview - basically my friend was talking to the whiteboard - such a disrespectful interviewer - shame on Airbnb for even allowing this to happen
Flagged for racism.
Racism? This is plain and clear ageism!
I agree that some specific LC questions are BS. Especially if the hiring team itself has never faced similar problem or used the solution. One time an interviewer from Google was expecting me to come up with rolling hash algorithm as the optimal solution to “implement hasSubstring” question. But other LC questions like design LRU or LFU are good exercises. Anything that involve basic data structure (Map, Set, Queue, Stack, Array, Graph) or basic algo (dfs, bfs, backtracking, greedy, djikstra, etc) are reasonable. Candidate for any level should possess the basic CS knowledge - regardless of any framework or tool the hiring teams are using. Anyway your case seems to be one-off. We will find that kind of interviewer anywhere anytime. So the only thing we can do is either pray or “memorize” harder :)
Rolling hash as in Rabin-Karp? That's a textbook algo.
Welp i must be skipping lots of classes back then. Never heard or use it until I saw it on cracking code interview book 😬
LOL, how long were you at MS? This has been the industry practice since the last 4 5 years.
Agreed. Everyone is mindlessly copying google and Facebook
G/FB doesn't expect perfection or 100% bug free. This seems like an airbnb culture. Also, I read, the questions have been leaked in a Chinese website.
Based on my experience, G expects perfection. IDK about FB.
Interview at Apple.
Friend told me he got asked trapping rain water but with a twist to visualize it in print statements from airbnb lmao wtf
I was asked same ! And interviewer didn't mention she wants water as W to be printed until the end. 🤦♂️I don't know how they expect people to understand and write bug free code in 45 mins!
The Leetcode industrial complex will eventually wreck big tech. It’s just gatekeeping to keep TC growth up.
Lmao maybe until L4. After that? Gg.