You are viewing a single comment's thread. Return to all comments →
From my point of view it is not even O(2n). We should take in count complexity of solving algorithm, not complexity of preparing input data.
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Array
You are viewing a single comment's thread. Return to all comments →
From my point of view it is not even O(2n). We should take in count complexity of solving algorithm, not complexity of preparing input data.