From the puzzle output section: "All valid options having the same maximum number of votes should be displayed in alphabetical order followed by the percentage of votes received."
The chocolate only received 10 votes, compared to tea which both received 35. So the chocolate definitely didn't reach the maximum number of votes.
I tried to submit my solution, seems all the testcases passes except the 2nd one. Is it fair to ask why [:)] Solution#30898 (Any hint on wats wrong with the code.... )