Question d’entretien chez Atlassian

Algorithms and data structures: implement a voting system.

Réponse à la question d'entretien

Utilisateur anonyme

15 août 2022

Simple hashmap + heap implementation. After that, interviewer will ask you about some advanced cases like how to handle a tie. I had no time to implement next step completely, but explained possible solutions and their complexity, pros and cons. You also will need to cover your implementation with tests as well.