06 / Algorithms · neetcode 150 · subway dojo for coding interviews

Interview Trace

// neetcode 150 · 키보드 없는 코딩 면접 도장

Daily dojo for the four stages of foreign coding interviews. One problem a day.

today's entry
A-057Day 572026.07.03
// problem.statement
Given the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the values of the nodes in the tree.
mediumleetcode #230neetcode150#tree#depth-first-search#binary-search-tree#binary-tree
topic

Kth Smallest Element in a BST

Given the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the values of the nodes in the tree.

four stages
· clarifying — pick the right questions· approach — pick the right approach·complexity· logic — code synthesis (slot quiz)· trace — mental dry-run
one-thumb subway dojoenter
log56 entries