If you're going to use an algorithm, it's important to know its complexity. Match the values in the columns. Remember that is the length of the string, and is the length of the search pattern.
find() under the hood
The big-O
Report a typo
Match the items from left and right columns
Average-case complexity
Worst case
Best case
sublinear
O(n)
O(nm)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.