hello-algo/codes/java
lyl625760 45e20e57a1
fix: Update hash_map_open_addressing.java (#727)
* FixBug:Update hash_map_open_addressing.java

1. put keyA, hashFunc 在位置 5
2 put key B, hashFunc 在位置  5. 和 A冲突,插入位置6
3. remove keyA,位置5removed
4. put keyB, hashFunc 在位置  5. 没有冲突,插入位置5
5. remove keyB, 位置5removed
6. get keyB, 此时会出bug,会访问到位置6. 实际上应为keyB 已经删除了

* Update hash_map_open_addressing.java

* Update hash_map_open_addressing.java

---------

Co-authored-by: Yudong Jin <krahets@163.com>
2023-09-21 04:39:21 -05:00
..
chapter_array_and_linkedlist Polish the chapter of array and linkedlist 2023-08-17 05:13:19 +08:00
chapter_backtracking fix preorder_traversal_iii_compact code 2023-09-09 00:51:00 +08:00
chapter_computational_complexity Add comparison between iteration and recursion. 2023-09-12 00:56:59 +08:00
chapter_divide_and_conquer fix build_tree, binary_search_tree.cs 2023-09-15 02:08:09 +08:00
chapter_dynamic_programming fix climbing_stairs_constraint_dp code 2023-08-31 02:31:58 +08:00
chapter_graph Anonymous inner classes create generic instances that display the dec… (#627) 2023-07-19 01:37:55 +08:00
chapter_greedy Fix the content 2023-08-10 11:35:16 +08:00
chapter_hashing fix: Update hash_map_open_addressing.java (#727) 2023-09-21 04:39:21 -05:00
chapter_heap Polish the chapter 2023-08-20 14:51:39 +08:00
chapter_searching feat(csharp): add binary search csharp codes (#676) 2023-08-06 23:16:02 +08:00
chapter_sorting Format C, C++, C#, Go, Java, Python, Rust code. 2023-09-02 23:54:38 +08:00
chapter_stack_and_queue Several enhancements and fixes 2023-09-14 03:36:31 +08:00
chapter_tree fix binary_search_tree code 2023-08-31 02:31:31 +08:00
utils Add implementation of array binary tree. 2023-07-19 16:09:27 +08:00