Write an algorithm and draw flowchart to find whether a given string S1 is substring of another string S2. 10m Dec2007
Write an algorithm and draw flowchart to find whether a given string S1 is substring of another string S2. 10m Dec2007 Algorithm Step 1: Input String and Substring (Note: Substring should be smaller than String) Step 2: Find Length of String (Len1) and Find Length of Substring (Len2) Step 3: flag <- 0 Step… Read More »