Home/MIT OpenCourseWare/Introduction to Algorithms (6.006)
MIT · on MIT OpenCourseWare

Introduction to Algorithms (6.006)

4.9(8,000)·2M enrolled
Intermediate 45 hours English None CertificateFREE

About this course

6.006 is the undergraduate algorithms course at MIT — the same material, at the same pace, with the same problem sets and exams that MIT students take for credit. Taught by Erik Demaine and Jason Ku, it covers the algorithms and data structures foundational to computer science and software engineering interviews: sequence data structures, sorting algorithms, binary search trees, graphs, BFS and DFS, Dijkstra's and Bellman-Ford, dynamic programming, and complexity analysis.

Unlike applied coding courses that teach algorithms through LeetCode-style problems, MIT 6.006 teaches the mathematical foundations — why algorithms work, how to prove their correctness, and how to analyze their complexity rigorously. This is the academic complement to interview-prep algorithm courses, and the reference most self-taught developers cite when they want to close the CS fundamentals gap.

What you'll learn

Analyze algorithm correctness and time/space complexity rigorously
Implement and compare sorting algorithms and understand their trade-offs
Work with binary search trees, heaps, and hash tables
Apply graph algorithms: BFS, DFS, Dijkstra's, and Bellman-Ford
Design dynamic programming solutions to optimization problems

This course includes

45h
On-demand video
Yes
Mobile access
English
Language
Comparison · LBS

Compare alternatives for Introduction to Algorithms (6.006)

Same topic, different options. We surface the trade-offs others hide so you can pick the course that actually fits your time, budget, and goals.
MIT OpenCourseWare4.9(8,000)
Introduction to Algorithms (6.006)
Price
Free
Completely free, openly licensed — no certificate
Duration
45 hrs
Level
Intermediate
Certificate
MIT OpenCourseWare4.9(15,000)
Linear Algebra (18.06)
Price
Free
Completely free, openly licensed — no certificate
Duration
34 hrs
Level
Intermediate
Certificate
Stanford Online4.9(9,000)
CS231n: Deep Learning for Computer Vision
Price
Free
Free lecture materials; some versions paid
Duration
50 hrs
Level
Advanced
Certificate
Stanford Online4.9(7,000)
CS224n: Natural Language Processing with Deep Learning
Price
Free
Free lecture materials; some versions paid
Duration
50 hrs
Level
Advanced
Certificate
Prices & availability can change — confirm on the provider's site. We're not affiliated with any single provider.

Instructor

ED
Erik Demaine / Jason Ku
MIT OpenCourseWare instructor
2M+ learners12 courses4.9 instructor rating

Taught by Erik Demaine and Jason Ku, MIT faculty in theoretical computer science. Demaine is known for recreational mathematics and origami-inspired algorithms research.

Requirements

  • Solid programming experience in any language
  • Basic math comfort (proof techniques, logarithms, summations)

Who this course is for

  • Self-taught developers closing the CS fundamentals gap
  • Software engineers preparing for technical interviews who want depth
  • CS students who want free access to MIT-caliber lecture content

About this provider

MO
MIT OpenCourseWare
MIT OpenCourseWare — free, openly licensed course materials from MIT's actual courses, including lecture notes, problem sets, and exams. No certificate.
Visit MIT OpenCourseWare

Frequently asked questions

It's rigorous — more so than most online algorithm courses. The math (proof techniques, recurrence relations) is genuinely challenging without prior exposure. But the lectures are clear, and it's freely available with no time pressure.
No — MIT OCW provides lecture videos, notes, and problem sets freely but does not issue certificates. The edX version of MIT algorithm courses offers paid verified certificates.
The OCW version is completely free with the same lecture videos and materials; the edX version offers a paid certificate and graded assignments.
Free
to audit
Enroll now