Meta Interview Question

Tech screen: 1) array of integers problem, 2) tree problem