http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=math_for_topcoders
- Sieve of Eratosthenes (prime finding)
- http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
- http://www.shafaetsplanet.com/planetcoding/?p=624
- http://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&tl=en&twu=1&u=http://e-maxx.ru/algo/eratosthenes_sieve&usg=ALkJrhhwtnMHMOYCdg4BxIfMFpyTHN-_pA
- Bitwise Sieve http://www.shafaetsplanet.com/planetcoding/?p=855
- Segmented Sieve http://zobayer.blogspot.com/2009/09/segmented-sieve.html
- prime factorization
- https://www.dropbox.com/s/ndai0fquchmazu7/factorization.pdf (pdf by jan vai)
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=primeNumbers
- http://zobayer.blogspot.com/2013/02/divisor-function.html
- GCD, LCM
- Factorial
- http://alavolacoder.blogspot.com/2013/04/factorial-facts.html
- http://alavolacoder.blogspot.com/2013/04/factorial-facts_9.html
- http://zobayer.blogspot.com/2009/07/factorial.html
- Fibonacci
- Counting, Permutation, combination
- Exponentiation
- Modular Arithmetic
- Euclid, Extended euclid
- http://zobayer.blogspot.com/2009/07/extended-euclidean-algorithm.html
- http://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&tl=en&twu=1&u=http://e-maxx.ru/algo/euclid_algorithm&usg=ALkJrhhkz3tb4aXWHeD8eIJvJCQhe-jn7Q
- http://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&tl=en&twu=1&u=http://e-maxx.ru/algo/extended_euclid_algorithm&usg=ALkJrhgjyM7s9peFmIRPQqhXdBGE9-CeHw
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=dataStructures
- Stack
- Queue
- Priority Queue
- Linked list
-
http://alavolacoder.blogspot.com/2013/02/blog-post_19.html http://alavolacoder.blogspot.com/2013/02/blog-post_24.html http://zobayer.blogspot.com/2009/12/cse-102-linked-list-in-c.html
- Heap
- Hash table
- Disjoint Set, Union Find
- http://www.shafaetsplanet.com/planetcoding/?p=763
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=disjointDataStructure
- Binary Search Tree
- Trie, Suffix Array
- Binary Indexed Tree(BIT)
- Segmented Tree
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=lowestCommonAncestor
- http://www.shafaetsplanet.com/planetcoding/?p=1557
- http://www.shafaetsplanet.com/planetcoding/?p=1591
- Heavy Light decompositon
- http://wcipeg.com/wiki/Heavy-light_decomposition
- http://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&tl=en&twu=1&u=http://e-maxx.ru/algo/heavy_light&usg=ALkJrhjj3RdDbiiCaQoThkAzVfSqnJuJkA
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=sorting
http://bongobani.blogspot.com/2010/06/blog-post_1625.html
- Bubble Sort
- Selection Sort
- Insertion Sort
- Shell Sort
- Quick Sort
- Merge Sort
- http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Sorting/mergeSort.htm
- http://zobayer.blogspot.com/2010/08/merge-sort.html
- http://zobayer.blogspot.com/2010/09/threaded-merge-sort.html
- http://zobayer.blogspot.com/2010/11/merge-sort-improvement.html
- Counting Sort
- Radix Sort
- Bucket Sort
- Heap Sort
- Linear Search
- Binary Search
- Ternary Search
- Map, HashMap
-
Some resources:
-
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=dynProg
-
Rod Cutting
-
Maximum Sum (1D, 2D)
-
Coin Change
-
Longest Common Subsequence
-
Longest Increasing subsequence, Longest Decreasing Subsequence Calculating nCr using DP
-
http://zobayer.blogspot.com/2009/08/calculate-ncr-using-dp.html
-
Matrix Chain multiplication
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Dynamic/chainMatrixMult.htm
-
Edit Distance
-
0-1 Knapsack
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Greedy/knapscakIO.htm
-
https://sites.google.com/site/programinggconcept/0-1-knapsack
-
Bitmask DP
-
Traveling Salesman problem
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/AproxAlgor/TSP/tsp.htm
-
Digit DP
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=greedyAlg
-
Activity selection/Task scheduling problem
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Greedy/activity.htm
-
Huffman coding
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Greedy/huffman.htm
-
Fractional knapsack problem
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Greedy/knapscakFrac.htm
-
Graph Theory:
-
https://sites.google.com/site/smilitude/shortestpath_problems
-
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=graphsDataStrucs1
-
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=graphsDataStrucs2
-
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=graphsDataStrucs3
-
Graph Representation(matrix, list/vector)
-
Breadth First Search(BFS)
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/GraphAlgor/breadthSearch.htm
-
Depth First Search(DFS)
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/GraphAlgor/depthSearch.htm
-
Bipartite Graph checking
-
http://zobayer.blogspot.com/2010/03/testing-bipartite-graph.html
-
Topological Sort
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/GraphAlgor/topoSort.htm
-
Strongly Connected Component (SCC)
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/GraphAlgor/strongComponent.htm
-
Minimum Spanning Tree(MST)
-
Kruskals Algorithm
-
Directed MST
-
All pair's shortest path (Floyd Warshall)
-
Djkastra algorithm
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/GraphAlgor/dijkstraAlgor.htm
-
http://zobayer.blogspot.com/2009/12/dijkstras-algorithm-in-c.html
-
Bellman Ford Algorithm
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/GraphAlgor/bellFordAlgor.htm
-
Directed Acyclic Graph
-
Bipartite Matching
-
http://zobayer.blogspot.com/2010/05/maximum-matching-with-dfs.html
-
Max-Flow, Min-cost max-flow
-
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=maxFlowRevisited
-
Cayley's Theorem
-
Articulation Point
-
Euler tour/path
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/GraphAlgor/eulerTour.htm
-
Hamiltonian Cycle
-
Stable Marriage problem
-
Chinese Postman problem
-
Minimum Vertex Cover(Graph+DP)
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/AproxAlgor/vertexCover.htm
-
Josephus Problem
-
Farey Sequence,Stern-brocot Tree
-
Catalan numbers
-
Euler's phi
-
http://zobayer.blogspot.com/2013/02/euler-totient-function.html
-
Burnside's lemma/circular permutation
-
Modular inverse
-
Probability
-
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=probabilities
-
Chinese Remainder Theorem
-
Gaussian Elmination method
-
http://zobayer.blogspot.com/2009/12/gaussjordan-elimination.html
-
Dilworth's Theorem
-
Matrix Exponentiation
-
http://zobayer.blogspot.com/2010/11/matrix-exponentiation.html
-
Determinant of a matrix
-
RSA public key crypto System
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=geometry1
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=geometry2
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=geometry3
http://www.personal.kent.edu/~rmuhamma/Compgeometry/compgeom.html
- Pick's Theorem
- Convex hull
- http://zobayer.blogspot.com/2010/02/convex-hull.html
- Line Intersection
- Segment circle intersection
- http://zobayer.blogspot.com/2009/11/geometry-segment-circle-intersection.html
- Point in a polygon
- Area of a polygon
- Line Sweeping
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=lineSweep
- Polygon intersection
- Closest Pair
###Game Theory: http://potasiyam.com/farsan/
- Take Away game
- http://zobayer.blogspot.com/2010/08/simple-take-away-game.html
- Nim
- Sprague-grundy Number
http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=stringSearching
http://doinik-iut.com/archives/23106
-
Naive String matching
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/StringMatch/naiveStringMatch.htm
-
Rabin karp Algo
-
Finite Automata
-
Knuth-Marris-Pratt Algo
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/StringMatch/kuthMP.htm
-
Manacher's Algo
-
Aho korasick's Algo
-
Boyer-Moore Algorithm
-
http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/StringMatch/boyerMoore.htm
###Others:
- Recursion
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=recursionPt1
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=recursionPt2
- http://zobayer.blogspot.com/2009/12/cse-102-attacking-recursion.html
- http://zobayer.blogspot.com/2009/12/cse-102-practice-recursions.html
- Backtracking
- http://www.shafaetsplanet.com/planetcoding/?p=1266
- http://www.academic.marist.edu/~jzbv/algorithms/Backtracking.htm
- Hungarian Algorithm
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=hungarianAlgorithm
- C++ STL(Standard Template Library)
- https://sites.google.com/site/smilitude/cpp
- https://sites.google.com/site/smilitude/stl
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=standardTemplateLibrary
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=standardTemplateLibrary2
- Bitwise operations
- http://www.codechef.com/wiki/tutorial-bitwise-operations
- http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=bitManipulation
- http://zobayer.blogspot.com/2009/12/bitwise-operations-in-cc-part-1.html
- http://zobayer.blogspot.com/2009/12/bitwise-operations-in-c-part-2.html
- http://zobayer.blogspot.com/2009/12/bitwise-operations-in-c-part-3.html