AlgoMaster Logo

Closest Binary Search Tree Value

tree=[4, 2, 5, 1, 3],target=3.7
0 / 34
algomaster.io
Step:values = [] (collect every value first)