Hello,
some probelms with linked lists like this one: https://leetcode.com/problems/binary-tree-inorder-traversal/
have an example input-output case where the input is represented as an array.
Input: root = [1,null,2,3]
Output: [1,3,2]
I don't understand how the array is formed. Is this some javascript standard of printing linked lists, or is it just a representation that I should understand? I would like it to be explained somewhere. Why is it [1, null, 2, 3] ?