IBM Interview Question

Leetcode type questions that were hard