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.
Your code does not consider person with 0 votes (i.e, not in the first element of each rows combined). They have the least votes and should be removed first, followed by those who have the least votes amongst the voted candidates. (Also, your code is trying to retrieve first element from an empty row that has been removed(ex: [[], ["abc"], ["a", "b"]]), resulting in
IndexError
)This is my first feedback. Awesome solution!
smart to use another var to store pos i am 95% close to this one
Oh come on! I solved this in 59 lines of code, ternary operators, a ***** recursion and a bunch of
if
statements and spend an hour only to see this?good job tho.
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Nice solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Why not use a ternary operator to check for the condition, would save you a couple of lines of code and is more readable.
It's very ineffective :(
My god, wonderful solution! Thanks!
nice
hey can you help me ? did you find it whats wrong ?
Loading more items...