1.introduction
As everyone knows, my friend Billy2007 is not good at The algorithm of tree, So I and he write this blog.
LCA , that is, the recent Common ancestor, refers to the root tree, find out one or two nodes u and v recent Common ancestor.
№ | Пользователь | Рейтинг |
---|---|---|
1 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | Um_nik | 159 |
4 | atcoder_official | 159 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 151 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
Algorithm——LCA(Least Common Ancestors)
As everyone knows, my friend Billy2007 is not good at The algorithm of tree, So I and he write this blog.
LCA , that is, the recent Common ancestor, refers to the root tree, find out one or two nodes u and v recent Common ancestor.
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en14 | Inversentropir-36 | 2020-04-17 08:42:35 | 0 | (published) | ||
en13 | Inversentropir-36 | 2020-04-17 08:41:41 | 2 | |||
en12 | Inversentropir-36 | 2020-04-17 08:41:23 | 34 | |||
en11 | Inversentropir-36 | 2020-04-17 08:40:35 | 12 | |||
en10 | Inversentropir-36 | 2020-04-17 08:39:51 | 471 | |||
en9 | Inversentropir-36 | 2020-04-16 16:55:36 | 131 | |||
en8 | Inversentropir-36 | 2020-04-16 13:28:52 | 325 | |||
en7 | Inversentropir-36 | 2020-04-16 13:25:09 | 177 | |||
en6 | Inversentropir-36 | 2020-04-16 13:20:49 | 55 | |||
en5 | Inversentropir-36 | 2020-04-16 13:16:42 | 4 | Tiny change: 'integers, N,M,SN,M,SN,M,S which res' -> 'integers, $N,M,S$ which res' | ||
en4 | Inversentropir-36 | 2020-04-16 13:14:05 | 659 | |||
en3 | Inversentropir-36 | 2020-04-16 13:10:09 | 2 | Tiny change: 'oduction\nAs ever' -> 'oduction\n\nAs ever' | ||
en2 | Inversentropir-36 | 2020-04-16 13:09:43 | 213 | |||
en1 | Inversentropir-36 | 2020-04-16 13:06:26 | 98 | Initial revision (saved to drafts) |
Название |
---|