Ibm Coding Questions Leetcode 150