Broadcom interview question

Binary search Trees, Dynamic Programming