Top "Tree" questions

A tree is a widely-used data structure that emulates a hierarchical tree-like structure with a set of linked nodes.

Google Chrome display JSON AJAX response as tree and not as a plain text

I cannot find an answer to this one: My AJAX calls return JSON data. In Google Chrome Developer Tools > …

ajax json google-chrome view tree
With ' N ' no of nodes, how many different Binary and Binary Search Trees possible?

For Binary trees: There's no need to consider tree node values, I am only interested in different tree topologies with …

tree binary-tree catalan
Build tree array from flat array in javascript

I have a complex json file that I have to handle with javascript to make it hierarchical, in order to …

javascript arrays list tree
How to create a collapsing tree table in html/css/js?

I have some data to display that is both tabular and hierarchical. I'd like to let the user be able …

javascript html css tree css-selectors
Database Structure for Tree Data Structure

What would be the best way to implement a customizable tree data structure (meaning, a tree structure with an unknown …

sql database-design tree
Tree implementation in Java (root, parents and children)

I need to create a tree structure similar as the attached image in Java. I've found some questions related to …

java tree structure
What is the most efficient/elegant way to parse a flat table into a tree?

Assume you have a flat table that stores an ordered tree hierarchy: Id Name ParentId Order 1 'Node 1' 0 10 2 'Node 1.1' 1 10 3 …

sql algorithm recursion tree hierarchical-data
Definition of a Balanced Tree

I am just wondering if someone might be able to clarify the definition of a balanced tree for me. I …

tree
Non-recursive depth first search algorithm

I am looking for a non-recursive depth first search algorithm for a non-binary tree. Any help is very much appreciated.

algorithm tree
Binary Search Tree - Java Implementation

I'm writing a program that utilizes a binary search tree to store data. In a previous program (unrelated), I was …

java data-structures tree