Computer Science, asked by mounikabalagani999, 7 months ago

time complexity of naive pattern​

Answers

Answered by madhviw9
0

Explanation:

Naïve pattern searching is the simplest method among other pattern searching algorithms. It checks for all character of the main string to the pattern. ... The time complexity of Naïve Pattern Search method is O(m*n). The m is the size of pattern and n is the size of the main string.

Answered by tannuvaishu06
1

Answer:

The time complexity of Naïve Pattern Search method is O(m*n). The m is the size of pattern and n is the size of the main string.

Similar questions