We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2221dc + 0c3b7b9 commit 8042a54Copy full SHA for 8042a54
1 file changed
main.cpp
@@ -41,8 +41,8 @@ class Data
41
42
Data::Data()
43
{
44
- size = 0;
45
- //hashTable.resize(size);
+ size = 1000;
+ hashTable.resize(size);
46
}
47
48
Data::Data(int sizeIn)
@@ -67,6 +67,7 @@ void Data::Delete(string key)
67
void Data::LookUp(string key)
68
69
Value record = seqLookUp(key);
70
+ // Value record = hashLookUp(key);
71
if (!record.key.empty())
72
73
cout << "Key (" << key <<") found!" << endl;
0 commit comments