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, the main problem you meet now is Memory Exceeded.
Please double check your code to solve this problem and try again.
Your Answer
Min of dim 1 is VE482 Min of dim 2 is VE281 Max of dim 0 is VE482 Key 5 -7 3 not found when erasing! Key 7 -6 7 not found when erasing! Max of dim 1 is VE281 Key -9 1 5 not found when erasing! Max of dim 1 is VE281 Max of dim 0 is VE482 Inserted VE214 with key tuple -2 5 -6 Min of dim 1 is VE482 Inserted VE557 with key tuple -9 0 9 Inserted VE105 with key tuple 7 -2 0 Min of dim 1 is VE105 Max of dim 1 is VE214 Min of dim 2 is VE214 Inserted VE491 with key tuple 0 -1 0 Min of dim 0 is VE557 Inserted VE112 with key tuple -6 0 4 Max of dim 1 is VE214 Erased key 1 -1 0 Inserted VE173 with key tuple 7 -1 -5 Max of dim 0 is VE173 Min of dim 1 is VE105 Min of dim 0 is VE557 Key -1 -1 9 not found! Traversing the tree after assignment operator: VE112 VE557 VE281 VE214 VE370 VE105 VE491 VE173 Min of dim 0 is VE557 Key -7 -10 -2 not found when erasing! Min of dim 2 is VE214 Max of dim 1 is VE214 Inserted VE374 with key tuple 8 2 -7 Erased key -2 5 -6 Max of dim 1 is VE374 Min of dim 1 is VE105 Min of dim 1 is VE105 Min
JOJ Answer
Min of dim 1 is VE482 Min of dim 2 is VE281 Max of dim 0 is VE482 Key 5 -7 3 not found when erasing! Key 7 -6 7 not found when erasing! Max of dim 1 is VE281 Key -9 1 5 not found when erasing! Max of dim 1 is VE281 Max of dim 0 is VE482 Inserted VE214 with key tuple -2 5 -6 Min of dim 1 is VE482 Inserted VE557 with key tuple -9 0 9 Inserted VE105 with key tuple 7 -2 0 Min of dim 1 is VE105 Max of dim 1 is VE214 Min of dim 2 is VE214 Inserted VE491 with key tuple 0 -1 0 Min of dim 0 is VE557 Inserted VE112 with key tuple -6 0 4 Max of dim 1 is VE214 Erased key 1 -1 0 Inserted VE173 with key tuple 7 -1 -5 Max of dim 0 is VE173 Min of dim 1 is VE105 Min of dim 0 is VE557 Key -1 -1 9 not found! Traversing the tree after assignment operator: VE112 VE557 VE281 VE214 VE370 VE105 VE491 VE173 Min of dim 0 is VE557 Key -7 -10 -2 not found when erasing! Min of dim 2 is VE214 Max of dim 1 is VE214 Inserted VE374 with key tuple 8 2 -7 Erased key -2 5 -6 Max of dim 1 is VE374 Min o