Ad
  • Custom User Avatar

    Got it, yeah, one extra at the end. Thanks.

  • Custom User Avatar

    What am I doing wrong here?

    Output:
    Should return single square for size of 1 and should be a red square.
    Expected: [r]
    , instead got: [r]
    Should return alternating squares.
    Expected: [r][b]
    [b][r]
    , instead got: [r][b]
    [b][r]

    Expected: [r][b][r]
    [b][r][b]
    [r][b][r]
    , instead got: [r][b][r]
    [b][r][b]
    [r][b][r]