The frequent words problem

From Algorithm Wiki
Jump to navigation Jump to search

Problem Description

The problem is to find the most frequent k­mers in Text.

Bounds Chart

Finding Frequent Item setsBoundsChart.png

Step Chart

Finding Frequent Item setsStepChart.png

Improvement Table

Complexity Classes Algorithm Paper Links Lower Bounds Paper Links
Exp/Factorial
Polynomial > 3
Cubic
Quadratic
nlogn
Linear [ Naive solution (1940)]

[ Rabin Karp (1987)]

logn