| 1 |
STL Vector |
https://leetcode.com/problems/can-make-arithmetic-progression-from-sequence/description/ |
|
|
|
|
| 2 |
STL Vector |
https://www.hackerearth.com/practice/data-structures/trees/binary-search-tree/practice-problems/algorithm/distinct-count/submissions/ |
|
|
|
|
| 3 |
STL String |
https://codeforces.com/problemset/problem/118/A |
|
|
|
|
| 4 |
STL String |
https://lightoj.com/problem/discovering-permutations |
|
|
|
|
| 5 |
STL Pair |
https://codeforces.com/problemset/problem/166/A |
|
|
|
|
| 6 |
STL Map |
https://atcoder.jp/contests/arc087/tasks/arc087_a |
|
|
|
|
| 7 |
STL Map |
https://codeforces.com/contest/903/problem/C |
|
|
|
|
| 8 |
STL Set |
https://leetcode.com/problems/contains-duplicate/description/?fbclid=IwZXh0bgNhZW0CMTAAAR2E2AwpXxW8PNJel2IKp66O-W2YXoInwsuAay5Zs4EcqR-mvWA3XmmiiIU_aem_A7KQdblLcorafVnnrXiYlA |
|
|
|
|
| 9 |
STL Set |
https://www.spoj.com/problems/ADAFIELD/ |
|
|
|
|
| 10 |
STL Set |
https://codeforces.com/contest/900/problem/C |
|
|
|
|
| 11 |
STL Map |
https://codeforces.com/contest/799/problem/B |
|
|
|
|
| 12 |
STL Map |
https://codeforces.com/contest/903/problem/C |
|
|
|
|
| 13 |
STL Multiset |
https://leetcode.com/problems/baseball-game/description/?fbclid=IwAR3_AVk3GIc7_ThVoeZVeIHHlPuFIrb_HTpaFD_WHsJbrQy4rKmhmr9BfFw |
|
|
|
|
| 14 |
STL Queue |
https://codeforces.com/contest/920/problem/B |
|
|
|
|
| 15 |
STL P. Queue |
https://codeforces.com/contest/799/problem/B?fbclid=IwAR3_AVk3GIc7_ThVoeZVeIHHlPuFIrb_HTpaFD_WHsJbrQy4rKmhmr9BfFw |
|
|
|
|
| 16 |
Bit Manipulation |
https://codeforces.com/contest/1527/problem/A |
|
|
|
|
| 17 |
Bit Manipulation |
https://codeforces.com/contest/579/problem/A |
|
|
|
|
| 18 |
Bit Manipulation |
https://codeforces.com/contest/467/problem/B |
|
|
|
|
| 19 |
Bit Manipulation |
https://codeforces.com/contest/1514/problem/B |
|
|
|
|
| 20 |
Bit Manipulation |
https://codeforces.com/contest/1420/problem/B |
|
|
|
|
| 21 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/hamming-sort-09045827/ |
00.20.00 |
AC |
XOR operation and count of set bit and the sort is the answer. |
bit |
| 22 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/parity-binary-sort-ea768e57/ |
00.05.00 |
AC |
count of even number of set bit then sort them same with the odd number of set bit. and print to get answer. |
bit |
| 23 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/range-queries-7-0a9ff8eb/ |
01.10.00 |
AC |
A dp to maintain all the numbers bit and prefix sum for every bit up to 20 length. then simple O(1) operation to get the answer. |
bit. dp |
| 24 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/bitwisebafflement-00eabd02/ |
|
|
|
|
| 25 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/bitwisebizarro-d932b3c7/ |
|
|
|
|
| 26 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/help-alice-to-find-the-parity-f65a1d30/ |
|
|
|
|
| 27 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/count-subarrays-3-ba2ff701/ |
|
|
|
|
| 28 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/twin-strings-c1911e65/ |
|
|
|
|
| 29 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/subarray-3-3dbc3f50/ |
|
|
|
|
| 30 |
Bit Manipulation |
https://www.hackerearth.com/problem/algorithm/xor-pairs-4-ae23b208/ |
|
|
|
|
| 31 |
|
|
|
|
|
|
| 32 |
|
|
|
|
|
|
| 33 |
|
|
|
|
|
|
| 34 |
|
|
|
|
|
|
| 35 |
|
|
|
|
|
|
| 36 |
|
|
|
|
|
|
| 37 |
|
|
|
|
|
|
| 38 |
|
|
|
|
|
|
| 39 |
|
|
|
|
|
|
| 40 |
|
|
|
|
|
|