How to list in an alphabetical order the words of a ternary search tree??

How can I go about listing the words a TST contains in an alphabetical order? Unlike BSTs where an in-order travers...

Java - tree data structure with multiple nodes - how to search efficiently?

I am searching for a implementation/data structure for some categories and child categories that i have. I am think...

Is there a “Set” data structure in .Net??

Ideally, I'm looking for a templated logical Set class. It would have all of the standard set operations such as Un...

java: how do I create an array of tuples?

how can I create an array of tuples in jsp (java) like (a:1, b:2) (c:3, d:4) ... ... ...

Difference between a HashMap and a dictionary ADT?

What is the difference between a Hash Map and dictionary ADT. And when to prefer one over another. For my programmin...

Passing array of structures to function c++?

Sorry for the noob question I'm just a little confused. If I have an array of structures in main that I want to pass...

Difference between back tracking and dynamic programming?

I heard the only difference between dynamic programming and back tracking is DP allows overlapping of sub problems, ...

Chained Hash Tables vs. Open-Addressed Hash Tables?

Can somebody explain the main differences between (advantages / disadvantages) the two implementations? For a libra...

How to remove a key from a Python dictionary??

When deleting a key from a dictionary, I use: if 'key' in my_dict: del my_dict['key'] Is there a one line way...

What is primary and secondary clustering in hash??

I am confused for the last few days in finding the difference between primary and secondary clustering in hash colli...

Java Tree to represent filesystem (files/dir) from list of paths?

I've a list of paths like this /mnt/sdcard/folder1/a/b/file1 /mnt/sdcard/folder1/a/b/file2 /mnt/sdcard/folder1/a/b...

How to add element into ArrayList in HashMap?

How to add element into ArrayList in HashMap? HashMap<String, ArrayList<Item>> Items = new HashMap&...

What is the difference between linkedlist and queue??

I'm new to data structures and it seems like both data structures have more similarities. In this answer it says th...

What is an “internal node” in a binary search tree??

I'm scouring the internet for a definition of the term "Internal Node." I cannot find a succinct definition. Every s...