leetcode/data_structures/binary_search_tree

binary_search_tree

dz / leetcode / data_structures / binary_search_tree

Node Tree

Nodes

successor
content Successor: next node in inorder traversal. To find, go right once, then as many times to the left as possible
parents leetcode/data_structures/binary_search_tree
location knowledge/leetcode/leetcode.dz:874

predecessor
content Predecessor: previous node in inorder traversal, To find, go left once, then as many times to the right as possibl
parents leetcode/data_structures/binary_search_tree
location knowledge/leetcode/leetcode.dz:879