3 ms·
A general graph is a tree without the restriction that a node can have at most one parent.
by chrisseaton 4y ago
A general graph is a tree without the restriction that a node can have at most one parent.
- nixpulvis 4y agoCorrect. So how is JSON a graph? Or maybe the answer is just, No. Not generally. I'm confused by your question.
- deleted 4y ago[deleted]
- chrisseaton 4y agoYou're just repeating what I originally asked?
- 8note 4y agoEach object is a node. { Left:{}, Right:{} } Has a tree with 3 nodes If you don't parse the JSON, you tend to traverse it as a graph