Helix Tech Interview Question

No difficulty