You spend hours trying to identify what they consider a valid number in Java, only to see that it's just a four liner for them in python wrapping the primitive integer parsing function. Leetcode is tedious, in real interviews there is not much general algorithm knowledge that will help you. FAANG hires people who took cs classes and memorized a handful of algorithms for tree traversal, quicksort etc and everything else is just at the mercy of the interviewer. If the interviewer asks you to code a linkedlist in 30min on a white board with fully compileable Java primitive code that isn't humanly possible.
No
Someone got burned
Yep
Couldn’t you write a LinkedList just using namedtuple? That would surely take any candidate less than 5 minutes to do and I’m being generous there.
Cheating
Also, Java
Problem is, it’s not only faangs now. Most companies do it.
The problem with focusing on leetcode testing is that they ignore important things that will help you in real life like systems design
Trust me - solving unseen algorithm problem is the best hiring signal I've seen till now. Better than your take home project, knowledge based questions etc. Note, I said unseen. Like Google does. Rarely you'll encounter a seen question in G interview. Sure, it does filter out some awesome but lazy folks. But the important thing is it keeps the worst ones out.
Google asks the same coding question to new grads and architects. It doesn't promote based on leetcode.
L5 onwards, folks will have design rounds and problem solving expectations are higher.
yes it is possible. maybe not for you, but for others.
Again, how many loc per minute can you white board?
loc / minutes? this isn't a benchmarking competition dude. a basic linked list is like what 20-30 lines? you can make them shorter by choosing short variable names, etc. writing should be there least of your worries.
Surely you asking how many loc per minute should illuminate that your paradigm is flawed. A great programmer doesn’t necessarily code fast, but takes a short amount of time to whip up the algorithm and plans out how to code said solution in as few lines of code possible while maintaining optimality.
https://www.google.com/amp/s/www.geeksforgeeks.org/implementing-a-linked-list-in-java-using-class/amp/ it's 100loc, no way to shorten it
Perhaps consider switching to C?
I don’t agree. At Goog they usually give something that has a trick. Seeing more things like that on LC gives you more ways to think about problems. If you give me a basic tree question or even coding a linked list, I’ll ace that. These are much much different.
Can confirm. Google asked a trick question. Although it wasn’t anything any regular problem solving process would help with. Not sorting, not sliding window, not DP, not preprocessing, not back tracking, not greedy, not nothing. You either had the intuition or not. Reminded me of the brain teaser puzzle days. Frankly I feel like problems like this are 100% waste of people’s time.
Misguided IQ Test.
India
6h
669
What is your current net worth?
Personal Finance
14h
3106
Is it cheaper to eat chipotle everyday than buy groceries ?
Health & Wellness
18h
1396
Quitting Sugar
Tech Industry
15h
2486
Google giving meals. Meanwhile Amazon L8 “don’t take more than one fruit”
Fitness
14h
920
how can i loose 5 pounds with small changes to lifestyle
What
If you can write 2 lines per minute on a white board the solution might be 200 lines
No one will ever ever ever give you an interview problem that requires 200 lines of code, especially in python.