IBM Interview Question

Just regular leetcode-style timed questions.