Awardco Interview Question

A basic Leet code question