Suma Soft interview question

DSA based on tree, arrays and string Core java