Hash table help | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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