JavaScript: Quadtree comparison
问题 I didn't find any fast algorithm for getting quad-trees differences in following format. Let's say that we have two arbitrary 4 level trees: var tree1 = [ { id: "1.1", children: [ { id: "1.1.1", children: null }, { id: "1.1.2", children: null }, { id: "1.1.3", children: [ { id: "1.1.3.1", children: null }, { id: "1.1.3.2", children: null }, { id: "1.1.3.3", children: null }, { id: "1.1.3.4", children: null } ] }, { id: "1.1.4", children: null } ] }, { id: "1.2", children: null }, { id: "1.3",