Serialize and Deserialize Binary Tree Output problem null vs. 0 as an integer not char

  • 0


    My answer is marked wrong because of null is not matching 0?
    but null is 0 in value.

    I actually run my code on LINUX machine and compile it using g++, I do get back to the same tree, using that input.

    What is the rule here?

Log in to reply

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