a) O (log n!)
b) O (n!)
c) O (n2)
d) O (n)
What is a time complexity for checking a string of length n is substring or not?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is a time complexity for checking a string of length n is substring or not?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!