CSE-2221 Design and Analysis of Algorithms
CSE-2222 Design and Analysis of Algorithms Lab
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | Codeforces 22A | Set | Solution |
2 | Codeforces 855A | Set | Solution |
3 | Codeforces 782A | Map | Solution |
4 | Codeforces 1228A | Set | Solution |
5 | GeeksForGeeks - Union of two arrays | Set | Solutoin |
6 | Codeforces 903C | Map/Greedy | Solution |
Name | Solution |
No. | NAME |
---|---|
1 | INSERTION SORT |
2 | SELECTION SORT |
3 | COUNTING SORT |
4 | MERGE SORT |
5 | QUICK SORT |
6 | HEAP SORT |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | Codeforces 17A | Brute Force, Number theory | Soluton |
Name | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | Codeforces 749B | geometry | Solution |
2 | CSES 2189 Point Location Test | Solution | |
3 | CSES 2190 Line Segment Intersection | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | Codeforces 579A | bit-masks | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | 35.Leetcode - Search Insert Position | Binary Search | Solution |
2 | 349.Leetcode - Intersection of Two Arrays | Binary Search | Solution |
3 | 69. Leetcode - Sqrt(x) | Binary Search | Solution |
278. Leetcode - First Bad Version | Binary Search | Solution | |
Name | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | 172. Leetcode - Factorial Trailing Zeroes | Solution | |
2 | GeeksForGeeks: Trailing Zeros in Factorials | Solution | |
3 | GeeksforGeeks: Power of two numbers | Solution | |
4 | LightOJ: Digits of Factorial | Solution | |
5 | Codeforces 1765A | Number theory | Solution |
6 | Kattis: Inverse Factorial | Solution | |
Name | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | InterviewBit: Connected Components | bfs | Solution |
2 | 102. Leetcode - Binary Tree Level Order Traversal | bfs | Solution |
3 | HackerEarth: Level Nodes | bfs | Solution |
4 | InterviewBit: Cycle in Directed Graph | bfs, kahn's | Solution |
5 | 1971. Leetcode - Find if Path Exists in Graph | bfs | Solution |
6 | 104. Leetcode - Maximum Depth of Binary Tree | bfs | Solution |
7 | Atcoder - Path Graph? | dfs | Solution |
8 | HackerEarth: Unreachable Nodes | dfs | Solution |
9 | HackerEarth: Travelling Alex | dfs | Solution |
Name | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | 28. Leetcode - Find the Index of the First Occurrence in a String | Rabin karp | Solution |
2 | 415. Leetcode - Add Strings | string | Solution |
3 | Codeforces 1791D | string | Solution |
4 | 28. Leetcode - Find the Index of the First Occurrence in a String | kmp | Solution |
5 | Codeforces 1616B | string | Solution |
6 | Codeforces 1473B | string | Solution |
Name | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | All Possible permutation | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | UVa 459 Graph Connectivity | Solution | |
Name | Solution |
No. | Problem's Link | Tag | Solution Link |
---|---|---|---|
1 | CSES 1650 Range XOR Queries | Range Query | Solution |
2 | CSES 1647 Static Range Minimum Queries | Range Query | Solution |
3 | CSES 1648 Static Range Sum Queries | Range Query | Solution |
Name | Solution |