You are viewing a single comment's thread. Return to all comments →
Yes, you are correct. I meant to say it is O(n) for each test case. If there are multiple test case for a problem it can be viewed as O(n^2).
Seems like cookies are disabled on this browser, please enable them to open this website
Ice Cream Parlor
You are viewing a single comment's thread. Return to all comments →
Yes, you are correct. I meant to say it is O(n) for each test case. If there are multiple test case for a problem it can be viewed as O(n^2).