Get 20% off all career paths from fullstack to AI
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course explains the KMP string-matching algorithm, contrasts it with the naive approach, and demonstrates its implementation in Java. It covers prefix tables, search examples, complexity analysis, and applications such as DNA pattern matching.
Syllabus
- Agenda for KMP Algorithm in Java.
- Pattern Matching.
- Naive Algorithm.
- Why KMP Algorithm?.
- Knuth Morris Pratt Algorithm.
- KMP Search Algorithm Code Building with Examples.
- KMP Algorithm in Java : Demo.
- Time and Space Complexity Analysis.
- Application of KMP Algorithm.
- Summary.
Taught by
Great Learning