You keep the poem you wrote in a string. But you are not sure whether your poem contains certain words or not. You want to check the existence of these words using the in operator. What would be the time complexity of this program?
Index() and in under the hood
Time complexity
Report a typo
Select one option from the list
___
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.