Like wtf? It was for E4 role. We had 30 minutes for the coding task. I solved the question using 3 approaches n2 time -> n time n space -> n time And yet they rejected me!
You coded up all three approaches within 30 minutes? Are you sure there were no bug? Did you handle all the edge cases?
Yes! It is a medium question on leetcode with high frequency.
Two issues I can see are: 1. In the most optimal code, I did if check and inside if while check do something. The if was redundant. 2. For the second approach after coding up, the code failed for one of the test scenario which I said it would pass. Then the interviewer reiterated that it won’t actually pass.
What was the question if you don’t mind?
You solved only 1 question. Facebook expects 2 questions.
In 30 minutes?
And optimal solution for both?
Don’t worry, be happy
Lol you’re nice. Yeah fuck em man. They want leetcode robots and not someone who can come up with solutions by self
Agreed.
You need to solve it in O(1) dude
Alright can’t even parse the input. Alright. Alright. Alright.
Yes they expect 2 Q's to be completed in the 45 min interview ! The second one needs to be at least correct in approach and coded to some extent (the interviewer should be convinced it'll work if completed)
Really that’s a lot
I had the first one working and got the second one almost working with some help/push from the interviewer and I still got a reject ! This was for a software engg position. It's been a really bad start to the year (I just flunked a Microsoft on site last week) ! Hope the year gets better :(
Yea they expect you to solve 2 mediums in 30-40 min.
Cheer up. Apply to Google. We expect only 1 question to be solved in 45 mins :) if you’re quick it will just be an extension of the original question which can be solved in 5-10 mins.
Have an onsite in a couple of weeks. Was trying to line up offers for google.
Best of luck! Not everything is in our hands. We can only do best with what we have and only control some things.
Tech Industry
Yesterday
1390
The end of Backdoor Roth?!
India
Yesterday
581
Modi is a legend, will be remembered for centuries to come
Personal Finance
Yesterday
641
Joining a PIP factory. Rate my cash reserves
2024 Presidential Election
Yesterday
636
Heartwarming peaceful protests
India
Yesterday
647
Who are these retards asking for dictatorship in India?
Fuck em