My simplest accepted solution


  • 0
    S

    select Name from Candidate where id = (select candidateid from Vote group by candidateid order by count(candidateid) desc limit 1)


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.