#algorithms

Found 4 articles tagged with #algorithms

Dynamic Programming (DP)

An optimization over plain recursion when we cache the results of subproblems to reduce time complexity from exponetial to polynomial.

Jan 16, 2022dsadpalgorithms

Rabin–Karp String Searching

An algorithm created by Richard M. Karp and Michael O. Rabin that uses hashing to find any one of a set of pattern strings in a text.

May 12, 2021dsaalgorithms

Big-O Notation

Big-O notation gives you a rough indication of the running time of an algorithm and the amount of memory it uses.

Nov 11, 2019dsaalgorithms

Polynomial Rolling Hash

A hash function used in Rabin–Karp's string search algorithm.

Jul 17, 2019dsaalgorithms