TREE:
{ "id": 1, "subnodes": [ { "id": 3, "subnodes": [ { "id": 2 }, { "id": 8, "subnodes": [ { "id": 10 } ] } ] }, { "id": 6, "subnodes": [ { "id": 4, "subnodes": [ { "id": 5 } ] } ] } ] }
TRY TO FIND NODE WITH ID: 10
NODE WITH ID 10 FOUND IN THIS PATH:
[ { "id": 1 }, { "id": 3 }, { "id": 8 }, { "id": 10 } ]