LPS (Longest Proper Prefix which is also Suffix) Table | Prefix Table | Pi Table Creation | Example
Channel:
Subscribers:
3,030
Published on ● Video Link: https://www.youtube.com/watch?v=HksYrdIOCS0
In this tutorial, I have discussed on KMP Algorithm's LPS table creation. LPS stands for Longest Proper Prefix which is also Sufffix. LPS table is also called Prefix Table and also sometimes called Pi Table. I have demonstrated an example of how we can build/construct the LPS table for a given pattern. More specifically, I have demonstrated a short-cut way/rules to build the LPS table without the help of any predefined algorithm or pseudo-code.
Necessary link for LPS Table Creation: https://www.geeksforgeeks.org/kmp-algorithm-for-pattern-searching/
Other Videos By EduTraGam
Tags:
LPS
lps
LPS Table
lps table
prefix table
pi table
how to create LPS table for a given pattern
pattern
longest proper prefix which is also suffix
prefix
suffix
proper prefix
proper suffix
KMP Algorithm
KMP's LPS Table
example of LPS table
example of Prefix Table
example of Pi Table
Advanced Algorithm
KMP Algorithm's LPS Table Creation
How to create LPS table
Pattern's LPS Table
longest proper prefix
prefix also suffix
prefix & suffix
LPS Table creation