No. | Program Name | Duration | Deployment |
---|---|---|---|
1. | Hacktoberfest (2022) | 1st Oct 2022 - 31st Oct 2022 | Algorithm |
2. | Social Winter of Code (2023) | 1st Jan 2023 - 10th Apr 2023 | Algorithm |
-
The resources are categorized based on programming language. One folder for one programming language
- Each folder has different subfolders. The subfolder represents the category algorithm belongs to
- Each subfolder has different files. Filename represents the name of the algorithm
- Each folder has different subfolders. The subfolder represents the category algorithm belongs to
No. | Algorithm Name | Available languages | Category |
---|---|---|---|
1. | Spiral Print Matrix | C, C++, Python | Arrays |
2. | Caesar Cipher | C, C++, Java, Python | Cryptography |
3. | Diffie - Hellman Algorithm | Python | Cryptography |
4. | Hill Cipher | C++, Python | Cryptography |
5. | Railfence Cipher | Java, Python | Cryptography |
6. | RSA | Python | Cryptography |
7. | SHA - 256 | C, C++, Java, Python | Cryptography |
8. | Vernam Cipher | C++, Python | Cryptography |
9. | Vignere Cipher | Python | Cryptography |
10. | Huffman Coding | C, C++, Java,Python | Data Compression |
11. | Banker's Algorithm | C, C++, Java,Python | Deadlock Avoidance |
12. | Karatsuba Algorithm | C++, Java, Python | Divide and Conquer |
13. | Strassen's Matrix Multiplication | C, Python | Divide and Conquer |
14. | 0/1 Knapsack | C, C++, Java, Python | Dynamic Programming |
15. | Coin change problem | C, C++, Java, Python | Dynamic Programming |
16. | Edit Distance | C++ | Dynamic Programming |
17. | Longest Common Subsequence | C, C++, Java | Dynamic Programming |
18. | Matrix Chain Multiplication | C++ | Dynamic Programming |
19. | Minimum Jump Algorithm | C, C++, Java, Python | Dynamic Programming |
20. | Travelling Salesman Problem | C, C++ | Dynamic Programming |
21. | Bellman Ford | C++ | Graphs |
22. | Dijkstra | C, C++, Java, Python | Graphs |
23. | Dinic's Algorithm | C++, Java, Python | Graphs |
24. | Floyd Warshall | C, C++, Java, Python | Graphs |
25. | Hamiltonian Path | Java | Graphs |
26. | Kosaraju's Algorithm | C++ | Graphs |
27. | Prim's Algorithm | C++, Java | Graphs |
28. | Tarjan Algorithm | C++ | Graphs |
29. | Activity Selection | C, C++, Java, Python | Greedy Algorithm |
30. | Fractional Knapsack | C, C++, Python | Greedy Algorithm |
31. | Job Sequencing | C, C++, Java, Python | Greedy Algorithm |
32. | Merge Interval Algorithm | C, C++, Java, Python | Greedy Algorithm |
33. | Addition of two Linked Lists | C++ | Linked List |
34. | Circular Linked List | C, C++, Python | Linked List |
35. | Doubly Linked List | C++, Java, Python | Linked List |
36. | Intersection of two Linked Lists | C++ | Linked List |
37. | LRU Cache Design | C, C++, Java, Python | Linked List |
38. | Merge Two Sorted Linked List | C, C++, Java, Python | Linked List |
39. | Palindrome Linked List | C, C++, Java, Python | Linked List |
40. | Reverse Linked List | C, C++, Java, Python | Linked List |
41. | Singly Linked List | C, C++, Python | Linked List |
42. | Decision Tree | Python | Machine Learning |
43. | K-Nearest Neighbours | C++ | Machine Learning |
44. | Linear Regression | C++, Python | Machine Learning |
45. | Logistic Regression | C++, Python | Machine Learning |
46. | Armstrong Numbers | C, C++, Java, Python | Maths |
47. | Binary Exponentiation | C++ | Maths |
48. | Bennett's Formula | C, C++, Java, Python | Maths |
49. | Bisection Algorithm | C, C++, Java, Python | Maths |
50. | Closures of Relations | C, C++, Java, Python | Maths |
51. | Decimal <-> Binary Converter | C, Python | Maths |
52. | Extended Euclidean Algorithm | C, C++, Java, Python | Maths |
53. | Factorial of Number | C, C++, Java, Python | Maths |
54. | Factors | C, C++, Java, Python | Maths |
55. | GCD & LCM | C, C++, Java, Python | Maths |
56. | Perfect Number | C, C++, Java, Python | Maths |
57. | Prefix-Postfix-Infix Interconversion | C++, Python | Maths |
58. | Prime Number | C, C++, Java, Python | Maths |
59. | Reverse Integer | C++, Python | Maths |
60. | Roman to Decimal converter | C, C++, Java, Python | Maths |
61. | Sieve Eratosthenes Algorithm | C, C++, Java,Python | Maths |
62. | KMP Algorithm | C, C++, Python | Pattern Matching |
63. | Rabin Karp | C++, Python | Pattern Matching |
64. | Z - Algorithm | C, C++, Java, Python | Pattern Matching |
65. | BFS and DFS | C++, Java | Searching |
66. | Binary Search on 2D Matrix | C,C++, Java, Python | Searching |
67. | Binary Search | C, C++, Java, Python | Searching |
68. | Linear Search | C, C++, Java, Python | Searching |
69. | Order Agnostic Binary Search | C++, Python | Searching |
70. | Ternary Search | C, C++, Java, Python | Searching |
71. | Sliding Window Problems | C++, Java | Sliding Window |
72. | 3 Sum Problem | C, C++, Java, Python | Sorting |
73. | Bubble Sort | C, C++, Java, Python | Sorting |
74. | Bucket Sort | C++, Java | Sorting |
75. | Counting Sort | C, C++, Python | Sorting |
76. | Cyclic Sort | C++, Java, Python | Sorting |
77. | Cocktail Sort | C++ | Sorting |
78. | Dutch National Flag | C++, Java, Python | Sorting |
79. | Gnome Sort | C, C++, Java, Python | Sorting |
80. | Heap Sort | C, C++, Java, Python | Sorting |
81. | Insertion Sort | C, C++, Java, Python | Sorting |
82. | Merge Sort | C, C++, Java, Python | Sorting |
83. | Quick Sort | C, C++ | Sorting |
84. | Selection Sort | C, C++, Java, Python | Sorting |
85. | Topological Sort | C++ | Sorting |
86. | Wave Sort | C++, Java, Python | Sorting |
87. | Max Area in Histogram | C, C++, Java, Python | Stacks |
88. | Next Greater Element | C, C++, Java, Python | Stacks |
89. | Rain Water Problem | C, C++, Java, Python | Stacks |
90. | Beautiful String Algorithm | C, C++, Java, Python | Strings |
91. | Camel Case Algorithm | C, C++, Java, Python | Strings |
92. | Boyer-Moore Majority Voting | C, C++, Python | Sub-Arrays |
93. | Kadane's Algorithm | C++, Java, Python | Sub-Arrays |
94. | AVL Tree | C++, Java, Python | Trees |
95. | Binary Search Tree | C, C++ | Trees |
96. | Binary Tree to BST | C, C++, Java, Python | Trees |
97. | Morris Traversal | C, C++, Python | Trees |
98. | Red-Black Tree | C++, Python | Trees |
99. | Splay Trees | C, C++, Java | Trees |
100. | Symmetric Tree Algorithm | C, C++, Java, Python | Trees |
101. | Tree Traversal | C, C++, Java, Python | Trees |
102. | Trie | C++, Java | Trees |
- Fork and clone the Repo by typing the following commands in the terminal
$ git clone https://github.com/Kumar-laxmi/Algorithms.git
$ cd Algorithms
- Now to add your resource to website, add an object with keys same as listed in existing objects in the file.
- Save and commit your code.
- Push to your fork of the repository , navigate to original repository and make a pull request.
![Screenshot 2022-10-23 at 8 03 11 AM](https://user-images.githubusercontent.com/76027425/197370508-44d256b8-c9fc-46a6-825c-c2eb6cd87e15.png)
![Screenshot 2022-10-23 at 8 03 31 AM](https://user-images.githubusercontent.com/76027425/197370510-1e9c460c-980a-4289-b6ba-ca2a1bc64ea9.png)
- Clone the Repository after forking
$ git clone https://github.com/<your-github-username>/Algorithms.git
$ cd techsquad-community-website
-
Make changes to the code(for ex- add an update route)
-
Create a Branch using:
$ git checkout -b <branch-name>
- Stage your changes using:
$ git add .
- Commit your changes using:
$ git commit -m "add any comment"
- Push the changes to the forked repository using:
$ git push origin <branch-name>
- Navigate to the original repository and make a pull request
- In case of merge conflict fetch and merge from the remote repository
Please don't forget to update the Available Resources section