Question
Write a dictionary program using data structure Binary Search Tree in Java. This program includes 1 menu with features: 1 - LOAD A DICTIONARY FROM
Write a dictionary program using data structure Binary Search Tree in Java. This program includes 1 menu with features:
1 - LOAD A DICTIONARY FROM A FILE: This File has multi lines (at least 50 lines), each line include the word (English) and it's meaning, choose the middle word to be Root in order to search easier Example: In file File.txt: measuring | meaning electronics | meaning facility | meaning
note: (you can choose " | " to be root).
2- SEARCHING
Search the word whether it has in the text file 3- INSERT
Insert new word and it meaning separated by " | " (vertical bar) 4- DELETE
Delete word 6- EXIT
Exit program
p/s: I just need the code in Java, it not necessary to have a visual form
--- Thank you so much, for who will help me ---
File - Notepad File Edit Format View Help electronics | meaning facilitymeaning boy | meaning gil meaninglStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started