Skip to content

Link-Cut Tree Ladder

This ladder is for the first time a tree problem says:

  • the forest changes online
  • path queries still remain
  • rebuilding one static decomposition after each change is no longer acceptable

It is intentionally a thin lane:

  • one exact starter
  • one verifier-style flagship rep
  • strong compare points back to static-tree routes

Who This Is For

Use this lane if:

Warm-Up

Target skill:

  • explain clearly why the next problem is not "just harder HLD"

Core

Target skill:

  • turn a dynamic-tree statement into makeroot / access / link / cut / path aggregate without guessing

Stretch

Target skill:

  • know when the exact starter still fits and when the aggregate contract has drifted into non-commutative or more generic territory

Retrieval Layer

Repo Anchors And Compare Points

Exit Criteria

You are ready to move on when:

  • you can say why static HLD/Euler flattening are the wrong fit for the query stream
  • you understand the difference between represented forest and auxiliary splay tree
  • you can explain why makeroot(u) then access(v) exposes the path u -> v
  • you can use the starter for one dynamic path-sum problem without treating it as black magic

External Practice