Nice bro you saved my project I really need that explanation ❤
@mhliu50177 ай бұрын
Amazing video❤
@yceraf6 ай бұрын
This is the best video I could find about the algorithm, but sill is wrong, following his explanation the leaf node 9, (min 46:37) it should be node 10 and therefore wrong. because " i - active_length" i = 10, active_length = 0. Then how is possible? I tried to make the implementation but in some cases crash or put wrong leaf node index
@accountmy46224 ай бұрын
had the same question. The index and active_length didn't work from moving to new active node X and Y
@daviddugar34833 ай бұрын
it is possible bcs active_length for this equation is actually 2 not 0 (because we changed the 'root' to the node which if pointed to by 'na' edge)