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.
Also add that the list of ints in inclusive, or both first and last are included in the list.
Hi,
I've changed the decription to specify that we want the bitwise OR.
In terms of simplifying the Kata, it's already pretty simple and after the first submit it becomes obvious that brute force won't work so I'm going to leave it as is.
Thanks
This comment is hidden because it contains spoiler information about the solution
Nice, I think you need to better explain what the second method needs to do:
"The second method takes valid ints (positive or negative) and returns a list of the values that follow the above rules."
to
"The second method takes 2 ints, positive or negative, and return an array with the result of the first function for each number between the 2 ints"