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
Inserted VE345 with key tuple -9 2 3 Key 0 7 4 not found! Key 4 2 6 not found! Max of dim 0 is VE482 Inserted VE493 with key tuple 3 -2 -3 Inserted VE557 with key tuple 7 1 9 Inserted VE349 with key tuple 5 -4 -6 Max of dim 0 is VE557 Key 2 6 -9 not found! Inserted VE564 with key tuple 3 -8 8 Key -8 2 5 not found when erasing! Key -1 -9 2 not found when erasing! Max of dim 1 is VE281 KDTree() deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy KDTree = deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy Traversing the tree after assignment operator: VE281 VE345 VE370 VE349 VE493 VE564 VE482 VE557 KDTree = deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy deepCopy deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode deleteNode Inserted VE589 with key tuple -1 -2 5 Key 4 -5 1 not found! Inserted VE453 with key tuple -8 1 -5 Key 3 0 -4 not
JOJ Answer
Inserted VE345 with key tuple -9 2 3 Key 0 7 4 not found! Key 4 2 6 not found! Max of dim 0 is VE482 Inserted VE493 with key tuple 3 -2 -3 Inserted VE557 with key tuple 7 1 9 Inserted VE349 with key tuple 5 -4 -6 Max of dim 0 is VE557 Key 2 6 -9 not found! Inserted VE564 with key tuple 3 -8 8 Key -8 2 5 not found when erasing! Key -1 -9 2 not found when erasing! Max of dim 1 is VE281 Traversing the tree after assignment operator: VE281 VE345 VE370 VE349 VE493 VE564 VE482 VE557 Inserted VE589 with key tuple -1 -2 5 Key 4 -5 1 not found! Inserted VE453 with key tuple -8 1 -5 Key 3 0 -4 not found when erasing! Max of dim 0 is VE557 Inserted VE369 with key tuple 7 -6 9 Inserted VE343 with key tuple -10 2 3 Key 5 -10 -10 not found when erasing! Inserted VE567 with key tuple -1 9 8 Traversing the tree after assignment operator: VE453 VE589 VE281 VE345 VE343 VE567 VE370 VE349 VE493 VE564 VE369 VE482 VE557 Key -8 -4 5 not found! Inserted VE530 with key tuple 4 -1 -5 Key -10 -10 1 not found! Inserted VE395 with key tu