DSA-VerseLearn by watching code run
DashboardData StructuresAlgorithmsVisualizerCORECoding PlaygroundInterview QuestionsComplexity AnalyzerLearning NotesBookmarksLearning ProgressSettings

Algorithms

Explanations, pseudocode, an embedded interactive visualization, implementations in JavaScript, Python, Java and Go, complexity and interview variations.

Greedy Algorithms

Activity Selection

Planned

Pick the activity that finishes first, repeat.

O(n log n)

Fractional Knapsack

Planned

Take items by best value/weight ratio, splitting the last one.

O(n log n)

Job Sequencing

Planned

Schedule highest-profit jobs into the latest free slot before their deadline.

O(n log n)

Huffman Coding

Planned

Merge the two least frequent symbols repeatedly to build an optimal prefix code.

O(n log n)