Why does the order matter?

  • 2

    I got this error:

    Input:	2, 2
    Output:	[[2,1]]
    Expected:	[[1,2]]

    I can easily flip the order and get OJ to accept, but why does the order matter?

  • 0

    I would say the order doesn't matter, might be something else wrong. Would do you mind present code with some words?

  • 0

    Thanks for reporting this issue, and this will be fixed in the future.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.