Upstart interview question

LeetCode easy to medium problem