A B B B B C C C D........
1 2 3 4 5 6 7 8 9 10 .......n
here i took the contestants as the A,B,C,D...each person(1...n) can vote to A,B,C,D...it will be in a sequence as the above...
so the sequence can be in traversed and number of votes for A,B,C,D can be stored in array,this is a O(N) method
Divide and Conquer method
now the sequence of array can be divided into n pieces and they are traversed to update the votes of A,B,C,D in arrray
so T(N)=2NT(N/N)+O(1)---which also takes the same complexity O(N)