Ad
  • Custom User Avatar

    Also add that the list of ints in inclusive, or both first and last are included in the list.

  • Default User Avatar

    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

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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"