binary-search-tree
Binary Search Tree Problem
Why the search and successor and predecessor returns -1? // BST.cpp : main project file. #include \"stdafx.h\"[详细]
2023-02-25 15:04 分类:问答Dictionary implementation (Balance Binary Search tree v.s. hash table)
Under what circumstances would it be better to implement a Dictionary ADT using a balanced binary search tree rather than a hash table?[详细]
2023-02-25 04:02 分类:问答Easiest to implement online sorted data structure in C
I\'m scanning a large data source, currently about 8 million entries, extracting on string per entry, which I want in alphabetical order.[详细]
2023-02-24 09:44 分类:问答binary tree -print the elements according to the level
This question was asked to me in an interview: lets say we have above binary tree,how can i produce an output like below[详细]
2023-02-24 07:49 分类:问答Complexity of a nested binary search tree
Does anyone know how to calculate the complexity of a nested binary search tree? I have implemented a nested binary search tree to a depth of 3 BSTs.[详细]
2023-02-22 08:30 分类:问答C++ - GDB Error Question
I\'m working on a Binary Search Tree in C++. I\'m getting the following errors reported after running gdb (I\'m receiving a segfault) on my program:[详细]
2023-02-22 05:36 分类:问答3-element binary search trees
I\'m working through a past exam paper for my advanced programming course and I\'ve gotten stuck at this question[详细]
2023-02-21 22:38 分类:问答Creating a List from a Binary Search Tree
I\'m trying to make a list of all items in a binary search tree. I understand the recursion but I don\'t know how to make it return each value and then append it into a list. I want to create a functi[详细]
2023-02-21 21:06 分类:问答Binary search Tree Implementation.
I was trying to implement binary search tree but I think I have made a mistake in my insert function. H开发者_如何学Pythonere\'s my code[详细]
2023-02-20 19:23 分类:问答Deleting nodes in BST using free(N)
I\'m coding a binary search tree and I\'m having a little trouble finding a way to delete node effectively.[详细]
2023-02-20 15:40 分类:问答