Reddit interview question

Go to leetcode and start doing leetcode hard questions