test cases for Lab 6 PART 1 3 5 7 6 2 4 8 5 2 1 3 6 1 0 -1 2 4 Output YES ---------- 2 5 1 2 3 4 5 6 7 8 9 10 Output YES ---------- 6 3 1 7 13 2 8 14 3 9 7 4 10 16 5 11 17 6 12 18 Output NO ---------- 4 2 1 2 3 4 5 0 6 7 Output NO --------- 3 3 1 0 1 2 4 5 0 3 2 Output NO ====================== Part 2 ABCD ABCD Output identical string --------- AB ABCD Output AB is a substring of ABCD -------- ABCD BC Output BC is a sunstring of ABCD -------- A1BCD ABCD Output ABCD is not a substring of A1BCD -------- KLM MZKLMAS Output KLM is a substring of MZKLMAS