Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

How many comparisons will happen for the given code in the given test case?

TEXT
1str = "aaaaaa"
2subStr = "aab"

Click the option that best answers the question.

  • 2
  • 12
  • 5
  • 6