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. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
the size of key: 3 Inserted VE376 with key tuple 10 2 -8 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Inserted VE297 with key tuple -8 -4 -8 Traversing the tree after assignment operator: VE297 VE281 VE370 VE482 VE376 Inserted VE223 with key tuple 6 2 1 Erased key 0 0 0 Inserted VE352 with key tuple -10 2 10 Traversing the tree after assignment operator: VE297 VE281 VE352 VE482 VE223 VE376 Inserted VE393 with key tuple 7 -8 -7 Value found: VE223 with key 6 2 1 Traversing the tree after assignment operator: VE297 VE281 VE352 VE482 VE393 VE223 VE376 Traversing the tre
JOJ Answer
Inserted VE376 with key tuple 10 2 -8 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Traversing the tree after assignment operator: VE281 VE370 VE482 VE376 Inserted VE297 with key tuple -8 -4 -8 Traversing the tree after assignment operator: VE297 VE281 VE370 VE482 VE376 Inserted VE223 with key tuple 6 2 1 Erased key 0 0 0 Inserted VE352 with key tuple -10 2 10 Traversing the tree after assignment operator: VE297 VE281 VE352 VE482 VE223 VE376 Inserted VE393 with key tuple 7 -8 -7 Value found: VE223 with key 6 2 1 Traversing the tree after assignment operator: VE297 VE281 VE352 VE