Member Avatar
*getting following error. duplicate found Exception in thread "main" java.lang.NullPointerException Java Result: 1 here is my code*
by ali11 -1 in Software Development ()
Member Avatar
As you know how avl should be balanced after deletion of a node, I'll get to point. For starting, Im considering deleteing a node with no children. For Example a Tree: Then Tree should be after deletion: Now, we see tree is balanced at node 17, because by formula, its …
by deepecstasy in Software Development ()
Member Avatar
Hello again.I recently have been doing a assignment which asks us to write a function to check whether a tree is perfectly balanced.I know the concept of Perfectly balanced tree but I just cant make out how to write this function.Any help in right direction will be highly welcome.
by ariel930 11 in Software Development ()
Member Avatar
I am trying to build a binary search tree. The elements in my input file is printing, but with junk. The problem is with the sentinel in the while loop. I'm not sure of what else to try. I've tried: while (infile) while (count != 14 && infile.good()) while (strcmp(Str, …
by BoBok2002 in Software Development ()
Member Avatar
i'm working on visual studio 2008. I'm trying use fopen to open txt files and it does not give any errors but its not doing the required task either. i've to submit this project on monday! please help here's part of the code: include <stdio.h> include<iostream> include <conio.h> include <string> …
by maryam ahmad in Software Development ()
Member Avatar
I'm working in the confines of a binary search tree and an AVL tree, doing some operations to find different statistics for these trees when given large random values. For instance some of my functions include finding the average leaf node depth, find the shallowest leaf node, etc. My question …
by dolfan55aj in Software Development ()
Member Avatar
Hi, I wanted to understand a java code that i picked from a website RoseIndian.net. It is about Binary Search three implementation in java. Can someone please explain how the retrieval of the node values [node.value] in the method "printInOrder(Node node){}" being done, because the node.values are not being stored …
by ARaza110 in Software Development ()
Member Avatar
Hi, help please! I have a struct containing an array of pointers to structs containing Binary Search Trees with nodes containing structs. ... <sigh> I hate C soo much... put work wants it to be in C. I can set the struct of BST's just fine, and keep it around, …
by quetzal_7 in Software Development ()
Member Avatar
Hi. I've a BST created for an address book application for my term project. When inserting into the BST, I insert items sorted by their first names in ascending order. The thing is that the user should be able to display the BST in the ascending form of last names …
by can_surmeli 1 in Software Development ()
Member Avatar
Hi all. As a part of my project I need to get the address book information saved in a .txt file into a Binary Search Tree. The info in the address book is stored like the following: First Name, Last Name, Date of Birth, E-mail, Phone, Address, City, Zipcode So …
by can_surmeli 1 in Software Development ()
Member Avatar
I need help with a program that is supposed to take data on football players from a txt file and place them in a binary search tree then use case statements to t osearch the tree inorder, preorder and postorder recursively here's what i got so far /* Bradley Koperski …
by bkoper16 in Software Development ()
Member Avatar
I am doing a project where i have to insert a list of players and stats into a binary search tree Here is the project description For this final assignment, you will be creating a binary search tree. You will be able to utilize some of your previous assignment code, …
by bkoper16 in Software Development ()
Member Avatar
Hi, My program is supposed to implement a binary tree with an insert, remove, copy, pre-order, post-order and in-order functions. Problem is that my code compiles but doesn't work correctly. When I try to insert more than one node/child node the program crashes/freezes. Could someone help me out. Thanks. header …
by schoolboy2010 in Software Development ()
Member Avatar
I am going out of town and don't have access to my professor and / or tutors for the weekend, and we have an assignment involving a BST. I have done all of my insert, remove, and search functions, and went to the tutor about the remaining ones I have, …
by peterman.k in Software Development ()
Member Avatar
i got theses code and im weak on this stuff my prof wants us to allow to enter char .....can any one help?
by markrezak -8 in Software Development ()