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 kata would really benefit from some example test cases for JS. I'd be happy to create some!
Checking for a null input seemed a bit out of scope and tedious. I think removing it would help solvers stay focused on the actual problem.
I would love to see an unconstrained version of this kata (ie. Find the longest path the spy could take based on these ticket purchases)
This solution is incredibly difficult to read.
This comment is hidden because it contains spoiler information about the solution
I can't determine the intended function signature for JS. Please explicitly clarify this in the description and/or create example test cases.
hahaha!
This comment is hidden because it contains spoiler information about the solution
This is nearly impossible to read.
This seems to be a duplicate of https://www.codewars.com/kata/basic-mathematical-operations