+ 1

please help

Your task is to design a program based on binary search trees which is divided into two phases: 1. Create, edit, delete and find an account based on account number. 2. The bank asked you to improve your program to allow each client to have more than one account. Perform the previous tasks considering these new specifications.

30th Dec 2016, 8:20 PM
Red7John
Red7John - avatar
4 Antworten
+ 3
YOUR TASK If you have a doubt, or if we can explain something to you, you can ask If you want us to make your complete homework, don't You won't learn if you don't investigate, READ, PRACTICE
30th Dec 2016, 8:27 PM
Dago VF
Dago VF - avatar
+ 1
Depends on how the accounts are stored. I presume you have classes like BankAccount and Client. In the second part consider thinking about your problem : - you have a number, get the corresponding account. Everything else is irrelevant. Now, how would be efficient to store the accounts so that you can easily parse through them?
31st Dec 2016, 10:56 AM
Norbivar
Norbivar - avatar
0
@Dago I'm just stuck on the more than one account part
30th Dec 2016, 8:29 PM
Red7John
Red7John - avatar
0
i think i need to put singly linked list in the node of the BST but when i did the program is adding every new account to the same list and not making a new node in the BST can u help me with that @Norbivar
1st Jan 2017, 6:49 PM
Red7John
Red7John - avatar