0

Hash table help

Any tips or links to creating my own Hashtable in Java. My professor didn’t teach it very well and we’re supposed to create our own and not use Java’s. We’re to create a dictionary of words provided to us and use it to search if words exist or spelled correctly. Help?

26th Apr 2021, 11:31 PM
Roderick Davis
Roderick Davis - avatar
7 Answers
+ 1
please go through below link: https://www.sololearn.com/learn/668/?ref=app In Java there exists a class dictonary. It is a subclass of HashTable. https://docs.oracle.com/javase/7/docs/api/java/util/Dictionary.html " NOTE: This class is obsolete. New implementations should implement the Map interface, rather than extending this class." So I think dictionary = HashMap/HashTable.
27th Apr 2021, 12:20 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
27th Apr 2021, 12:25 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
HashMap and Sets are covered in lessons 63.1 and 64.1 your Java course
27th Apr 2021, 12:26 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Hi! First, show us your code attepmt, please
26th Apr 2021, 11:36 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Ярослав Вернигора(Yaroslav Vernigora) I dont know where to start but ill give you my attempt in an hour
26th Apr 2021, 11:38 PM
Roderick Davis
Roderick Davis - avatar
0
questions that do not have their own attempt to solve are considered as homework and can be deleted https://code.sololearn.com/W26q4WtwSP8W/?ref=app
26th Apr 2021, 11:40 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Ярослав Вернигора(Yaroslav Vernigora) obliviously lol I asked for tips on hash tables I know how solo learn works.
26th Apr 2021, 11:42 PM
Roderick Davis
Roderick Davis - avatar