a) O (log n!)
b) Ɵ (n!)
c) O (n2+ n1)
d) Ɵ (n1 + n2)
What is a time complexity for finding the longest substring that is common in string S1 and S2 (n1 and n2 are the string
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is a time complexity for finding the longest substring that is common in string S1 and S2 (n1 and n2 are the string
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!