Intel Corporation Interview Question

lc problems: DP, BST, binary operations