NimbleRx Interview Question

Leetcode medium (on the easy side)