Some basic algorithms in C CPP. More codes will be added later
Please inform me if you find any bug
Please inform me if you find any bug
| Category | Title | Source Code |
|---|---|---|
| Dynamic | 0/1 - Knapsack | Download/View |
| Dynamic | Coin Change | Download/View |
| Dynamic | Coin Change(Recursive/Memor) | Download/View |
| Dynamic | L I S | Download/View |
| Dynamic | Matrix Chain multiplication | Download/View |
| Dynamic | Maximum Product | Download/View |
| Graph | Bellman-Ford | Download/View |
| Graph | BFS | Download/View |
| Graph | Dijkstra | Download/View |
| Graph | Finding Articulation Point | Download/View |
| Graph | MST ( Kruskal ) | Download/View |
| Graph | MST ( Prim ) | Download/View |
| Graph | Topological Sort | Download/View |
| Medians and Order Statistics | Finding Maximum and Minimum | Download/View |
| Number theory | Caculating GCD of two integers | Download/View |
| Number theory | Calculating LCM of two integers | Download/View |
| Number theory | Counting Divisor of an integer | Download/View |
| Number theory | Counting number of digits of n! | Download/View |
| Number theory | Counting Tailing zero/s of n! | Download/View |
| Number theory | Factorization of an integer | Download/View |
| Number theory | Factorrization of n! | Download/View |
| Number theory | Generating Prime Numbers | Download/View |
| Number theory | Relatively Prime | Download/View |
| Searching | Linear Search | Download/View |
| Sorting | Bubble Sort | Download/View |
| Sorting | Bubble Sort (1st Improvement) | Download/View |
| Sorting | Bubble Sort (2nd Improvement) | Download/View |
| Sorting | Bucket Sort | Download/View |
| Sorting | Heap Sort | Download/View |
| sorting | Insertion sort | Download/View |