📄 expectedoutputchainedhashtableuos.txt
字号:
BasicDictUos Demo for ChainedHashTableUos
Inserting... 23
Inserting... 1
Inserting... 4
Inserting... 18
Inserting... 2
Inserting... 102
Inserting... -50
current contents:
1: 1
2: 2
4: 4
5: 18
10: 23
11: -50 102
Inserting... 3
Inserting... 54
Inserting... -12
Inserting... -18
Inserting... 32
Current contents:
1: 1
2: 54 2
3: 3
4: 4
5: -18 18
6: 32
10: 23
11: -50 102
12: -12
is it empty? false
Is it full? false
Has 3? true
Obtain 3: 3
Obtain 23: 23
Deleting 3
Has 3? false
Current contents:
1: 1
2: 54 2
3:
4: 4
5: -18 18
6: 32
10: 23
11: -50 102
12: -12
has 99? false
Is it full? false
Deleting 32
Deleting -18
Deleting -12
Deleting 54
Deleting -50
Deleting 102
Deleting 2
Deleting 18
Deleting 4
Deleting 1
Deleting 23
Wipe out
is it empty? true
Inserting.. 23
Obtain 23: 23
Deleting 23
is it empty? true
that's it
DictUos Demo forChainedHashTableUos
Inserting... 23
Inserting... 1
Inserting... 4
Inserting... 23
Inserting... 18
Inserting... 2
Inserting... 23
Inserting... 102
Inserting... 23
Current contents:
1: 1
2: 2
4: 4
5: 18
10: 23 23 23 23
11: 102
Frequency of 23? 4
Deleting 23
Frequency of 23? 3
Go first
Go forth
Delete Item
Insert 32
Search for 2: Item exists? false
Iterate through the list:
1 4 18 32 23 23 23 102 Current contents:
1: 1
2:
4: 4
5: 18
6: 32
10: 23 23 23
11: 102
Delete every item in the dictionary
Current contents:
1:
2:
4:
5:
6:
10:
11:
Wipe out
is it empty? true
Inserting.. 23
Current contents:
10: 23
Frequency of 23? 1
Frequency of 9999? 0
Deleting 23
is it empty? true
that's it
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -