test case like
abbabbsbabsfkbal
ba
gives wrong output ,i have seen their is not any difference in code from the vedio.check it once.
KMP algorithm implementation
@vivek_oberoi
Can you please share your code with me? save your code at ide.codingblocks.com and share link here