Skip to content

CE205 Data Structures

Week-12

String Search Algorithms, Tries, Data Structures for Disjoint Sets

Download DOC, SLIDE, PPTX


Outline

  • Strings
  • Reverse Factor Algorithm (String Search)
    • Knuth-Morris-Pratt Algorithm
    • Horspool Algorithm
    • Boyer-Moore Algorithm
    • Brute-Force / Linear Text Search
    • DFA Text Search
  • Tries
    • Patricia Tree (Radix Tree)
  • Data Structures for Disjoint Sets
    • Disjoint-set operations
    • Linked-list representation of disjoint sets
    • Disjoint-set forests
    • Analysis of union by rank with path compression

Knuth-Morris-Pratt Algorithm


Strings - Reverse Factor Algorithm (String Search)

Horspool Algorithm


Strings - Reverse Factor Algorithm (String Search)

Boyer-Moore Algorithm


Strings - Reverse Factor Algorithm (String Search)


Strings - Reverse Factor Algorithm (String Search)


Tries

Patricia Tree (Radix Tree)


Data Structures for Disjoint Sets


\[ End-Of-Week-12 \]

Last update: September 25, 2022
Created: December 29, 2021
Back to top