Problem 43112. Counting votes

x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

Solution Stats

80.26% Correct | 19.74% Incorrect
Last Solution submitted on Dec 03, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers56

Suggested Problems

More from this Author25

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!