XYZ interview question

two DSA hard level question