RevenueHero interview question

Algorithm based questions focused on fundamentals