🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by x1e1r1 Sat, 05 Dec 1998 00:00
Assignment 9
#146
Author: x1e1r1
Date: Sat, 05 Dec 1998 00:00
8 lines
849 bytes
If anyone has looked at it yet, could you answer a question?  The function
to form the key for the hash table
is (k)(row)+column+1.  Won't this result in two different states getting the
same key?  For example,  if
the state is (1,0) and k is 5, the key would be (5)(1)+0+1=6.  If the state
is (0,5) and k is 5, the key would
be (5)(0)+5+1=6.  Two totally different states would get hashed to the same
index.  Won't this totally screw things up?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads