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 VE170 with key tuple 5 8 9 Traversing the tree after assignment operator: VE280 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE280 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE280 VE281 VE370 VE482 VE170 Inserted VE109 with key tuple -7 -1 1 Traversing the tree after assignment operator: VE280 VE109 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE280 VE109 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE280 VE109 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE280 VE109 VE281 VE370 VE482 VE170 Inserted VE436 with key tuple -9 5 -1 Inserted VE360 with key tuple -1 0 -4 Key 5 -10 -5 not found! Traversing the tree after assignment operator: VE360 VE280 VE109 VE281 VE436 VE370 VE482 VE170 Traversing the tree after assignment operator: VE360 VE280 VE109 VE281 VE436 VE370 VE482 VE170 Key 2 -5 -10 not found when erasing! Traversing the tree after assignment operator: VE360 VE280 V
JOJ Answer
Inserted VE170 with key tuple 5 8 9 Traversing the tree after assignment operator: VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE281 VE370 VE482 VE170 Inserted VE109 with key tuple -7 -1 1 Traversing the tree after assignment operator: VE109 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE109 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE109 VE281 VE370 VE482 VE170 Traversing the tree after assignment operator: VE109 VE281 VE370 VE482 VE170 Inserted VE436 with key tuple -9 5 -1 Inserted VE360 with key tuple -1 0 -4 Key 5 -10 -5 not found! Traversing the tree after assignment operator: VE360 VE109 VE281 VE436 VE370 VE482 VE170 Traversing the tree after assignment operator: VE360 VE109 VE281 VE436 VE370 VE482 VE170 Key 2 -5 -10 not found when erasing! Traversing the tree after assignment operator: VE360