🏎️ Fast What mistake have you learned most from?
Login or register your account to reply
Babe trusting someone ppl didn't like. i used to like believe that everyone who wasn't well liked was just misunderstood and made sure i befriended them, lots of toxic relationships ill never recover from.
🏎️ Fast is one of them? ;)
Babe this killed me, i think hes one of the best ppl i trusted tho
🔻 Trinity i've certainly made some enemies but i'd say i'm well-liked at least to those that matter to me
Babe as someone who knows you, id say i like you a lot
🌊 Zero Two this feels like an interview question lol
Ice given 2 nodes on a binary tree, return the lowest common ancestor in O(N) time
🏎️ Fast I would tell you, but no markdown support on here...
Ice hah no worries. I got the solution during my last interviewing circuit
🌊 Zero Two take one node, go up to root, take the other node go up to root or until u hit one u already seen.
🏎️ Fast you're hired!
Ice true, but only if child nodes have references to parent nodes. otherwise you'd need a top-down recursive approach where you return if the current node is the one of the child nodes in the callback
👌 Ramsey How do you define success?
🌊 Zero Two when u learn from past mistakes xd