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 is not properly tested: the only relevant test is
contains(100, 0)
, which already contains0
.This kata does not look different from https://www.codewars.com/kata/59daf400beec9780a9000045 besides the input being represented as numbers.