Help me out in this
okay,let me go through it once
@aa1 my logic is
find lps of pat+"#"+text where in lps[i]==pat.length is the last index of pattern accordingly i have subtracted to find starting position
okay,let me go through it once
@aa1 my logic is
find lps of pat+"#"+text where in lps[i]==pat.length is the last index of pattern accordingly i have subtracted to find starting position