New answers tagged


According to the spec: The function should return true if every candidate remaining in the election has the same number of votes, and should return false otherwise. I interpret the name of the function is_tie to mean all the non-eliminated candidates are tied, not is there a tie between any two candidates. The key word here is every. The hint says: Recall ...

Top 50 recent answers are included