Fade to Solo
Trees

Kth Smallest in a BST

NO NETMleetcode ↗

Problem

Given the root of a binary search tree and an integer k, return the k-th smallest value stored in the tree (1-indexed).

NO NET00:00
no net — stays locked