aNotHeRNo0b
Senior Member
Ừ đúng rồi, nhiều bài khắm vl, đi inteview nó có nhiều yếu tố hên xui nhưng thằng rating cao thì cùng lắm đi pv 10 cty thì đen dính 1 cái ko làm được, có thằng luyện có 1 200 bài vẫn pass như thường.
Giờ cho ae đi xóa 1 node ở 1 cái BST được ko, bữa LinkedIn nó hỏi bài đấy lúc interview khả năng cút là rất cao![]()
Delete Node in a BST - LeetCode
Can you solve this real interview question? Delete Node in a BST - Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node reference (possibly updated) of the BST. Basically, the deletion can be divided into two stages: 1. Search for...
leetcode.com
Vào việc!!!





non quá