Data Structured67_q4a-bst-node-relation

BST Node Relation

a09b70a0-fe4e-43c2-99f7-036f046c1a6e.cppC++
1// Loading code...

Selected Submission

40 / 100
0.111s
1968 KB
Tree
Time Comp.
O(log n)
Space Comp.
O(1)
Readability
4/10

"The code operates on a Binary Search Tree (BST) implemented using a custom `map_bst` class. It determines the relationship between two nodes within the tree, utilizing iterative traversal to find the nodes and compare their positions. The core data structure is a Tree, specifically a BST, and the code heavily relies on its properties for node comparison."

History

AttemptPoints Time
Try #424011/18/2024
Try #414011/18/2024
Try #40011/18/2024
Try #394011/18/2024
Try #382011/18/2024
Try #37011/18/2024
Try #3610011/18/2024
Try #3510011/18/2024
Try #342011/18/2024
Try #332011/18/2024
Try #32011/18/2024
Try #312011/18/2024
Try #302011/18/2024
Try #29011/18/2024
Try #28011/18/2024
Try #272011/18/2024
Try #262011/18/2024
Try #252011/18/2024
Try #242011/18/2024
Try #232011/18/2024
Try #22011/18/2024
Try #212011/18/2024
Try #202011/18/2024
Try #192011/18/2024
Try #18011/18/2024
Try #172011/18/2024
Try #162011/18/2024
Try #152011/18/2024
Try #142011/18/2024
Try #132011/18/2024
Try #122011/18/2024
Try #11011/18/2024
Try #102011/18/2024
Try #9011/18/2024
Try #8011/18/2024
Try #7011/18/2024
Try #6011/18/2024
Try #5011/18/2024
Try #4011/18/2024
Try #3011/18/2024
Try #2011/18/2024
Try #1011/18/2024