Keshav, in your motivation segment, I guess you meant, naive array gives O(N) for *operation 1* and O(1) for *operation 2*.

Read more… (22 words)

Active In

Competitive Programming

Indian Computing Olympiad (ICO)

Algorithms and Data Structures

Deep Learning

Artificial Intelligence

Featured Contributions

reply in this discussion

Keshav, in your motivation segment, I guess you meant, naive array gives O(N) for *operation 1* and O(1) for *operation 2*.

Read more… (22 words)