Return the Top Two Teams by Points, Goal Difference, and Tie Breakers
Company: Capital One
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Online Assessment
Overview: Rank competition teams by points, goal difference, goals scored, and an explicit index tie rule, then return the first two team indices.