Questions tagged [tree-structure]

110 questions
-1
votes
1 answer

How to convert List to string?

I have a list of data and want to convert it into string format like headers and values separated. How can I achieve this in c#? Expected Result: dynamic data = { "values": [ [ 5658830, "Support And Training Services Llc", …
Mhd
  • 771
  • 1
  • 8
  • 15
-1
votes
1 answer

flatten tree structure into array

I have this tree structure: data = { [ { type: "folder" name: "animals" path: "/animals" children : [ { type: "folder" name: "cat" path:…
Sergino
  • 10,128
  • 30
  • 98
  • 159
-1
votes
2 answers

Recursive sums in dictionary

i've got a classic tree problem and can't find the right solution. I have a tree represented in a python dictionary with branches and leafes. I need to calculate the sum of all children (price-property) for every branch and store it in the…
-1
votes
1 answer

Sencha Architect/Touch nested list issue

Hello, I am working with sencha architect, in a touch 2.4 project. I have a issue dealing with nested list and tree store: This is my store: Ext.define('App.store.Tree', { extend: 'Ext.data.TreeStore', requires:…
-1
votes
2 answers

External database t implement tree like / hash map structure

What external database can I use to work with my java application except Microsoft Access? I need a tree like structure or a hashmap and not relational tables.
1 2 3 4 5 6 7
8