Uploaded February 2020 | Updated September 2026, 3 days ago
CORTREE from CodeChef February Lunchtime 2020
Commented code: codechef.com/viewsolution/29982264
Binary lifting: iq.opengenus.org/binary-lifting-k-th-ancestor-lowest-common-ancestor
DFS preorder traversal for subtree queries: discuss.codechef.com/t/a-technique-to-convert-tree-to-a-linear-array-for-efficient-query-processing/9298
Feel free to ask comments or questions, so that I can improve!
I would appreciate it if you liked this video and subscribed!
Website: williamlin.io
Instagram: instagram.com/tmwilliamlin168
Twitter: twitter.com/tmwilliamlin168
CORTREE from CodeChef February Lunchtime 2020
Commented code: codechef.com/viewsolution/29982264
Binary lifting: iq.opengenus.org/binary-lifting-k-th-ancestor-lowest-common-ancestor
DFS preorder traversal for subtree queries: discuss.codechef.com/t/a-technique-to-convert-tree-to-a-linear-array-for-efficient-query-processing/9298
Feel free to ask comments or questions, so that I can improve!
I would appreciate it if you liked this video and subscribed!
Website: williamlin.io
Instagram: instagram.com/tmwilliamlin168
Twitter: twitter.com/tmwilliamlin168










