XYZ interview question

Prepare for LeetCode style questions