Day 19 of LeetCode
Documenting LeetCode solving.
Q57
230. Kth Smallest Element in a BST
Medium. Tree
Iteratively traverse the tree. Go all the way to the left while adding nodes to the stack, if the curr becomes null, means the previous node is the smallest currently. ...
evelynsjourney.hashnode.dev2 min read