This video could not play here.
It may be members-only, region-restricted, or unavailable in embedded players.
Lowest Common Ancestor (LCA) Problem | Source Code
Source code explanation video of the Lowest Common Ancestor (LCA) problem
Lowest Common Ancestor explanation video: https://youtu.be/sD1IoalFomA
Sparse Table Video: https://www.youtube.com/watch?v=uUatD9AudXo
Source code repository: https://github.com/williamfiset/algorithms#tree-algorithms
Video slides: https://github.com/williamfiset/algorithms/tree/master/slides
===================================
Practicing for interviews? I have used, and recommend `Cracking the Coding Interview` which got me a job at Google. Link on Amazon: https://amzn.to/3cvMof5
A lot of the content on this channel is inspired by the book `Competitive Programming` by Steven Halim which I frequently use as a resource and reference. Link on Amazon: https://amzn.to/3wC2nix