Next Insurance interview question

Perfect subtree, root, 2sum, caesar encryption