processing trees so that lowest common ancestors may be found more quickly. Tarjan's off-line lowest common ancestors algorithm, for example, preprocesses...
24 KB (2,990 words) - 11:48, 27 July 2025
In computer science, Tarjan's off-line lowest common ancestors algorithm is an algorithm for computing lowest common ancestors for pairs of nodes in a...
6 KB (816 words) - 17:13, 24 July 2025
algorithm Tarjan's off-line lowest common ancestors algorithm Tarjan's algorithm for finding bridges in an undirected graph Tarjan's algorithm for finding...
1 KB (104 words) - 23:38, 12 September 2023
algorithm: algorithm for finding a perfect matching Prüfer coding: conversion between a labeled tree and its Prüfer sequence Tarjan's off-line lowest common ancestors...
72 KB (7,951 words) - 17:13, 5 June 2025
Widest path problem (category Graph algorithms)
pair of vertices to be queried in constant time per query, using lowest common ancestor queries in a Cartesian tree. The root of the Cartesian tree represents...
24 KB (3,017 words) - 06:47, 12 May 2025