Had a phone interview recently. Was able to solve both of them with best time/space complexity (except for Morris Traversal for a tree problem). During testing my 2nd solution the interviewer hinted at a potential edge case which I found and explained what I would do to address it. First problem I haven’t seen before but figured out the solution and surprisingly coded very similar to LC answer once I looked the question up. They had a follow up which didn’t really change the underlying algorithm but I mentioned how I would handle that situation differently. They seemed satisfied Both LC Mediums one FB tagged TC: 250 #swe
Did you get selected?
Haven’t heard back yet
If someone wants Morris Traversal from me.. im jump out of window in front of them
Haha it’s not that bad! Just not super well known
Op, how long after applying u got call or were u reached out?
Is this E4 or E5 might be a pas for E4
E5
Moving to next stage 💪
Congrats!! And good luck!
Out of all the interviews with tree questions I’ve done, I don’t think any of the interviewers knew what Morris Traversal was
I should have commented it to them but under pressure/time I didn’t :/
I don’t think Morris traversal s needed. It’s complicated af