@@ -52,7 +52,7 @@ const stringInstructions = [{
52
52
] ,
53
53
} ] ;
54
54
55
- const hashingInstructions2 = [
55
+ const hashingInstructions1 = [
56
56
{
57
57
title : 'Insert/Delete Mode' ,
58
58
content : [
@@ -68,8 +68,42 @@ const hashingInstructions2 = [
68
68
- x - y - z: Bulk insert from integers x to y in steps of z.
69
69
- -x: Delete x from table.
70
70
71
- If you wish to input more integers, select the Expand radio button.
72
- The table will now expand after reaching 80% capacity` ,
71
+ Only for small table, if you wish to input more integers, select the Expand radio button.
72
+ The table will now expand after reaching 80% capacity until it reaches 97 slots, after which it will
73
+ stop at one slot left` ,
74
+
75
+ `Click on ${ KEY_INSERT } to enter Insert mode and load the algorithm.` ,
76
+ `Click on ${ KEY_PLAY } to watch the algorithm run. The speed may be adjusted using the speed slider.` ,
77
+ ] ,
78
+ } ,
79
+ {
80
+ title : 'Search Mode' ,
81
+ content : [
82
+ 'Make sure table has inserted values before searching.' ,
83
+ `Click on ${ KEY_CODE } on the right panel.` ,
84
+ 'Enter an Integer in the Search parameter.' ,
85
+ `Click on ${ KEY_SEARCH } to enter Search mode and load the algorithm.` ,
86
+ `Click on ${ KEY_PLAY } to watch the algorithm run. The speed may be adjusted using the speed slider.` ,
87
+ ] ,
88
+ } ,
89
+ ] ;
90
+
91
+ const hashingInstructions2 = [
92
+ {
93
+ title : 'Insert/Delete Mode' ,
94
+ content : [
95
+ `Click on ${ KEY_CODE } on the right panel.` ,
96
+ `Select small or larger table via the radio buttons.` ,
97
+ `Enter a comma separated list of integers into the Insert parameter.
98
+
99
+ **Valid inputs**:
100
+
101
+ - x : Insert x into table.
102
+ - x - y: Bulk insert from integers x to y.
103
+ - x - y - z: Bulk insert from integers x to y in steps of z.
104
+ - -x: Delete x from table.
105
+
106
+ You can hover over a slot to see the chain when you see a .. in the slot` ,
73
107
74
108
`Click on ${ KEY_INSERT } to enter Insert mode and load the algorithm.` ,
75
109
`Click on ${ KEY_PLAY } to watch the algorithm run. The speed may be adjusted using the speed slider.` ,
@@ -163,4 +197,5 @@ export const ASTARInstruction = graphInstructions;
163
197
export const BFSInstruction = graphInstructions ;
164
198
export const DFSInstruction = graphInstructions ;
165
199
export const DFSrecInstruction = graphInstructions ;
166
- export const HashingInstruction = hashingInstructions2 ;
200
+ export const HashingLPDHInstruction = hashingInstructions1 ;
201
+ export const HashingCHInstruction = hashingInstructions2 ;
0 commit comments