Mark As Completed Discussion

Are you sure you're getting this? 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