3 ms·You said the code from the article is O(2n) when it could be O(n), but those are the same thing.by iainmerrick 1y agoYou said the code from the article is O(2n) when it could be O(n), but those are the same thing.