Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Oh mb, thank you...
The
ISSUE
label is for provable kata issues. Please use theQUESTION
label when asking for help. See https://docs.codewars.com/training/troubleshooting#post-discourse.It wants
2
because2 > 1
,3
is not even in the picture. You misinterpreted the instructions.Not a kata issue.
[1, 1, 2, 2, 3]
{1: 2, 2: 2, 3: 1}
3 should equal 2...
So clearly there is a tie between one and two... therefore the expected answer should be 3 because it is the greatest in the array. Am I wrong or am I just not smart. Please help. WHY DOES IT WANT 2?!?!?!