Fast Enterprises Interview Question

Easy–medium LeetCode style problem (optimized)