Google interview question

Technical phone screen, was asked leetcode easy/medium problem.