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. | Huffman Coding | C, C++, Java,Python | Data Compression |
2. | Banker's Algorithm | C, Python | Deadlock Avoidance |
3. | Karatsuba Algorithm | C++, Java, Python | Divide and Conquer |
4. | 0/1 Knapsack | C, C++, Java, Python | Dynamic Programming |
5. | Edit Distance | C++ | Dynamic Programming |
6. | Longest Common Subsequence | C++ | Dynamic Programming |
7. | Matrix Chain Multiplication | C++ | Dynamic Programming |
8. | Travelling Salesman Problem | C | Dynamic Programming |
9. | Bellman Ford | C++ | Graphs |
10. | Dijkstra | C, C++, Java, Python | Graphs |
11. | Floyd Warshall | C, C++, Java, Python | Graphs |
12. | Kosaraju's Algorithm | C++ | Graphs |
13. | Prim's Algorithm | C++, Java | Graphs |
14. | Tarjan Algorithm | C++ | Graphs |
15. | Activity Selection | C, C++, Java, Python | Greedy Algorithm |
16. | Fractional Knapsack | C++, Python | Greedy Algorithm |
17. | Job Sequencing | C++ | Greedy Algorithm |
18. | Merge Interval Algorithm | C, C++, Java, Python | Greedy Algorithm |
19. | Addition of two Linked Lists | C++ | Linked List |
20. | Circular Linked List | C++, Python | Linked List |
21. | Doubly Linked List | C++, Java | Linked List |
22. | Intersection of two Linked Lists | C++ | Linked List |
23. | Singly Linked List | C, C++, Python | Linked List |
24. | Decision Tree | Python | Machine Learning |
25. | Linear Regression | C++, Python | Machine Learning |
26. | Logistic Regression | C++, Python | Machine Learning |
27. | Armstrong Numbers | C, C++, Java, Python | Maths |
28. | Binary Exponentiation | C++ | Maths |
29. | Factors | C, C++, Java, Python | Maths |
30. | GCD & LCM | C, C++, Java, Python | Maths |
31. | Prime Number | C, C++, Java, Python | Maths |
32. | Reverse Integer | C++ | Maths |
33. | Sieve Eratosthenes Algorithm | C, C++, Java,Python | Maths |
34. | Rabin Karp | C++ | Pattern Matching |
35. | BFS and DFS | C++ | Searching |
36. | Binary Search on 2D Matrix | Java | Searching |
37. | Binary Search | C, C++, Java, Python | Searching |
38. | Linear Search | C, C++, Java, Python | Searching |
39. | Sliding Window Problems | C++ | Sliding Window |
40. | Bubble Sort | C, C++, Java, Python | Sorting |
41. | Counting Sort | C++ | Sorting |
42. | Cyclic Sort | C++, Java, Python | Sorting |
43. | Dutch National Flag | C++, Java | Sorting |
44. | Heap Sort | C, C++, Java, Python | Sorting |
45. | Insertion Sort | C, C++, Java, Python | Sorting |
46. | Merge Sort | C, C++, Java, Python | Sorting |
47. | Quick Sort | C, C++ | Sorting |
48. | Selection Sort | C, C++, Java, Python | Sorting |
49. | Topological Sort | C++ | Sorting |
50. | Wave Sort | C++, Python | Sorting |
51. | Max Area in Histogram | C, C++, Java, Python | Stacks |
52. | Rain Water Problem | C, C++, Java, Python | Stacks |
53. | Beautiful String Algorithm | C, C++, Java, Python | Strings |
54. | Boyer-Moore Majority Voting | C++, Python | Sub-Arrays |
55. | Kadane's Algorithm | C++ | Sub-Arrays |
56. | AVL Tree | C++, Java, Python | Trees |
57. | Binary Search Tree | C, C++ | Trees |
58. | Binary Tree to BST | C, C++, Java, Python | Trees |
59. | Morris Traversal | C, C++ | Trees |
60. | Red-Black Tree | C++, Python | Trees |
61. | Tree Traversal | C, C++, Java, Python | 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.
- 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