Why I see a different runtime when I used the same algorithm?[python 3]
182

Here is a code from answer:
image
You can see the runtime is 70% but let me change some varriable name.
image
You can see that my runtime is now 52%, but I changed only variable names.
Can someone explain me, why it happens?

PS: here is a link for artcile https://leetcode.com/articles/reverse-string/

Comments (1)