Desquared interview question

Leetcode problems, i dont remember which