Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
Inserting key-value pairs: key = -766608value = -367720 Inserting key-value pairs: key = -969643value = 337405 Inserting key-value pairs: key = 608470value = 0 Inserting key-value pairs: key = 608470value = 0 Inserting key-value pairs: key = -766608value = -367720 Inserting key-value pairs: key = -969643value = 337405 Inserting key-value pairs: key = -626576value = 0 Inserting key-value pairs: key = 518895value = 0 Inserting key-value pairs: key = -628383value = -829666 Inserting key-value pairs: key = -626576value = -817460 Inserting key-value pairs: key = -969643value = 337405 Inserting key-value pairs: key = 518895value = 991783 Inserting key-value pairs: key = 608470value = -702436 Inserting key-value pairs: key = -628383value = -829666 Inserting key-value pairs: key = -766608value = -367720 Inserting key-value pairs: key = 779907value = 0 Inserting key-value pairs: key = 257087value = -295961 Inserting key-value pairs: key = -649217value = 0 Inserting key-value pairs: key = 460927value
JOJ Answer
========== Resulting HashTable ========== 0 | 1 | 2 | 3 | {561323, -406486} 4 | 5 | {-716858, 117013} {-506363, -594077} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | {-913311, 648183} 15 | 16 | {827963, 130907} 17 | {322776, 512313} {701667, -533367} 18 | {112282, 544947} 19 | 20 | 21 | 22 | 23 | 24 | {-380047, 575891} 25 | 26 | 27 | {-997496, -61421} 28 | 29 | 30 | {-618602, -741659} 31 | 32 | 33 | 34 | {-155509, -781714} 35 | {70200, 18909} {378926, -640316} 36 | 37 | 38 | 39 | {-464230, -631635} 40 | 41 | 42 | 43 | {43, 362413} 44 | 45 | 46 | 47 | {-323892, 185281} 48 | {70213, -757822} 49 | 50 | {14083, -551571} 51 | 52 | 53 | 54 | {-520347, -41594} 55 | 56 | {-702774, -877023} 57 | 58 | 59 | 60 | {-99351, -840675} {84258, -500895} 61 | 62 | 63 | {-