Some companies are asking leetcode hard problems. I was at one interview last week and I was asked to finish a leetcode hard problem in about 35 minutes. It was hard, I finished it but I had one bug. I hope it works out. Man compared to this Microsoft questions are easy. The question involved topological sort. I had to build the tree and do topo sort. I am proud but it was not easy to finish it.
Which company ?
Even Microsoft does all hard all the time
Topo sort is easy. Dynamic programming is where things start to fall apart for me.
Topo is easy but I had to first build the structure with the data provided which was hard actual sort it self was not hard. I came up with n cubed algorithm
Yeah I got asked 3 LC hard at Google, but I still passed
I get topological sort questions and DP questions all the time at Amazon. The questions gets harder with the years of experience I guess
Yoe/tc?