mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-07 01:44:56 +08:00
fix 706: bug with edge case
This commit is contained in:
@ -13,6 +13,9 @@ func Test_Problem706(t *testing.T) {
|
||||
fmt.Printf("Contains 7 = %v\n", obj.Get(7))
|
||||
param1 := obj.Get(100)
|
||||
fmt.Printf("param1 = %v\n", param1)
|
||||
obj.Remove(100007)
|
||||
param1 = obj.Get(7)
|
||||
fmt.Printf("param1 = %v\n", param1)
|
||||
obj.Remove(7)
|
||||
param1 = obj.Get(7)
|
||||
fmt.Printf("param1 = %v\n", param1)
|
||||
|
Reference in New Issue
Block a user