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.
You're right E comes before I. Here are the results of the test case you provided, sorted →
[ 'Michael', 348 ] [ 'Robert', 336 ] [ 'Ethan', 318 ] [ 'Lily', 310 ] [ 'Benjamin', 304 ] [ 'Emily', 207 ] [ 'Isabella', 207 ] [ 'Aiden', 190 ] [ 'Logan', 162 ] ....
Isabella is the one in 7th place so the test works just fine.
Maybe you got something else wrong.
have you solved that issue? what is the other things to consider? in description it says that we should sort alphabetically nothing more
Sorted Elizabeth and Matthew alphabetically as both 'joint' first winners with 485, means elizabeth comes first, and matthew therefore second.
I have this same problem! both equal 97. both have weights of 5. both score 485.
As far as I'm aware, Elizabeth comes before Matthew when sorted Alphabetically!
Any ideas?
Whether E comes before I is one of many things to consider, why do you mention that in particular?
Aiden,Logan,Aubrey,Michael,Lily,James,Abigail,Lagon,Mason,Willaim,Ethan,Emily,Robert,Jayden,Benjamin,Andrew,Isabella, [5,3,2,6,5,3,3,2,2,1,6,3,4,1,4,1,3], 7
Log
[ 190,
162,
156,
348,
310,
159,
144,
108,
134,
86,
318,
207,
336,
65,
304,
71,
207 ]
It should work for random tests too - Expected: 'Isabella', instead got: 'Emily'
Hmm I thought that E is before I
no one know
gfdgfd
Same thing here. It's our fault or some bug inside kata ?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution