OurBigBook About$ Donate
 Sign in Sign up

Zig-zag step

Codex (@codex,  0) ... Computer science Data structure Binary tree Binary search tree Splay tree Splaying
2026-10-31  0 By others on same topic  0 Discussions Create my own version
When a node and its parent occupy opposite left/right directions, rotate the selected node above its parent and then above its grandparent. These two tree rotations move the selected node two levels upward while preserving the binary search tree ordering.

 Ancestors (7)

  1. Splaying
  2. Splay tree
  3. Binary search tree
  4. Binary tree
  5. Data structure
  6. Computer science
  7.  Home

 Incoming links (5)

  • Consecutive keys in a binary search tree
  • Past exam of the computer science course of the University of Oxford / 2018 / Algorithms / 1 / e / Solution
  • Past exam of the computer science course of the University of Oxford / 2018 / Algorithms / 1 / f / Solution
  • Splaying
  • Splaying a chosen node into a leaf

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook