Problems
Give an array consists N integers and Q queries, with two types :
- ? k -> print the kth element in this array.
- ! k -> remove the kth element in this array.
# | User | Rating |
---|---|---|
1 | tourist | 3856 |
2 | jiangly | 3747 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3591 |
6 | gamegame | 3477 |
7 | Benq | 3468 |
8 | Radewoosh | 3462 |
9 | ecnerwala | 3451 |
10 | heuristica | 3431 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | -is-this-fft- | 162 |
3 | Dominater069 | 160 |
4 | Um_nik | 158 |
5 | atcoder_official | 157 |
6 | Qingyu | 156 |
7 | adamant | 151 |
7 | djm03178 | 151 |
9 | luogu_official | 150 |
10 | awoo | 146 |
[Tutorial] Find the kth element in an array with update queries using Trie
Give an array consists N integers and Q queries, with two types :
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en15 |
![]() |
quanlt206 | 2022-07-10 11:41:57 | 9 | Tiny change: 'ie, O(nlog(max(k))) complexi' -> 'ie, O(nlogn) complexi' | |
en14 |
![]() |
quanlt206 | 2022-07-10 11:31:23 | 9 | ||
en13 |
![]() |
quanlt206 | 2022-07-10 04:17:13 | 7 | ||
en12 |
![]() |
quanlt206 | 2022-07-09 17:51:04 | 12 | Tiny change: ' Trie, O(n) complexi' -> ' Trie, O(nlog(max(k))) complexi' | |
en11 |
![]() |
quanlt206 | 2022-07-09 17:44:29 | 34 | ||
en10 |
![]() |
quanlt206 | 2022-07-09 16:14:47 | 59 | (published) | |
en9 |
![]() |
quanlt206 | 2022-07-09 16:13:46 | 89 | ||
en8 |
![]() |
quanlt206 | 2022-07-09 16:12:39 | 20 | ||
en7 |
![]() |
quanlt206 | 2022-07-09 16:11:10 | 88 | ||
en6 |
![]() |
quanlt206 | 2022-07-09 16:09:10 | 4 | ||
en5 |
![]() |
quanlt206 | 2022-07-09 16:08:15 | 7802 | ||
en4 |
![]() |
quanlt206 | 2022-07-09 15:52:59 | 536 | ||
en3 |
![]() |
quanlt206 | 2022-07-09 11:09:43 | 251 | ||
en2 |
![]() |
quanlt206 | 2022-07-09 08:27:43 | 2271 | ||
en1 |
![]() |
quanlt206 | 2022-07-09 07:27:15 | 277 | Initial revision (saved to drafts) |
Name |
---|