Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 192 Bytes

File metadata and controls

2 lines (2 loc) · 192 Bytes

Least Common Ancestor

A Python implementation of O(n) space, O(1) time LCA query for static binary trees, as described in L15