python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to write a perfect hash function for 36 strings?
Using the numbers 0-5 I need to write a perfect has function for 36 Student ID Strings with six characters and 3 integers (e.g. BYPLOK120).
The hash function looks something like as follows:
String []...
Bopolop
Votes: 0
Answers: 0
Hash Function for a 7 digits int
I'm new to hash tables and functions, so I apologize in advance if I got anything wrong.
I'm trying to create a hash table in C++ for a list of about 100k entries comprised of a 7 digit number.
The th...
wimakog1
Votes: 0
Answers: 1
Unambiguous hashable representation for plane defined by 3 points with integer coordinates
I need to be able to use planes as keys in a hash map. The planes are defined by three distinct points in 3d space. I have been unable to find a representation for a plane, that is the same no matter ...
Topi Karvonen
Votes: 0
Answers: 1
Hash table and hash function implementation
So this is an implementation for hash table https://www.programiz.com/dsa/hash-table that we took in class but I couldn't understand it. I have some question
Is this like an array of size 10, like we...
xxmira
Votes: 0
Answers: 0