IBM interview question

Leetcode coding questions. You can learn based on the tag