3 ms·
Another fan of union-find here as well. Simple, elegant and magical. Also best (only?) practical use of the (inverse) Ackermann function!
by gpderetta 10y ago
Another fan of union-find here as well. Simple, elegant and magical.
Also best (only?) practical use of the (inverse) Ackermann function!