In Valid test case


  • 0
    P

    [2147483647]
    how is this supposed to be a valid binary tree.


  • 0
    N

    Yes, I am having the same issue. How does it expect this to return true. Can someone elaborate on this case validity?


  • 0
    J

    well,you just pass a number which has a range bigger than a int ,setting your argument with type int64_t which MAX_INT64 is bigger than 2147483647.


Log in to reply
 

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