Skip to content

Commit 20ca12d

Browse files
authored
Update BinaryLifting.js
1 parent 259c452 commit 20ca12d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Graphs/BinaryLifting.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* The techniqe can answer Q queries about kth ancestor of any node in O(Q log N)
77
* It is faster than the naive algorithm that answers Q queries with complexity O(Q K)
88
* It can be used to find Lowest Common Ancestor of two nodes in O(log N)
9+
* Tutorial on Binary Lifting: https://codeforces.com/blog/entry/100826
910
*/
1011

1112
class BinaryLifting {

0 commit comments

Comments
 (0)