IBM Interview Question

Moderately difficult coding questions of the leetcode type