Neural Ninjas Β· DSA Simulation Labs Β· Lab 27

πŸ§ͺ The LCA Liquid Mixer

Blue liquid rises from node A, red liquid rises from node B β€” both climbing one parent at a time. The instant a single node has been touched by both colors, they mix to purple right there. That node is the Lowest Common Ancestor.

Climb Log

Controls

πŸ”΅ Blue LiquidI only ever climb upward, one parent at a time. I never go back down, and I never skip a level.
πŸ”΄ Red LiquidThe moment I touch a node blue already reached β€” or blue touches one I already reached β€” we mix. That node is the answer.
Pick a level above to begin.