Ad
  • Default User Avatar

    Great kata, just one problem in the C# version: Pagination is misspelled as Pagnation in the class names ;)

  • Default User Avatar

    You are missing something, the description or the comment in the code can help you:

    /// <summary>
    /// Returns the page index of the page containing the item at the given item index.
    /// </summary>
    /// <param name="itemIndex">The zero-based index of the item to get the pageIndex for</param>
    /// <returns>The zero-based page index of the page containing the item at the given item index or -1 if the item index is out of range</returns>
    
  • Default User Avatar

    Your code has a bug. The index is zero based.

  • Default User Avatar

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

  • Default User Avatar

    I actually ran into the same issue, as I thought that N * N means all mazes have the same width and height. Only through the comment here I got the idea that the description was missleading.