ByteDance interview question

It's just the leetcode live coding challenge