# What exactly would an O(n2) operation do?

Technology CommunityCategory: Big-O NotationWhat exactly would an O(n2) operation do?
VietMX Staff asked 5 months ago

O(n2) means for every element, you’re doing something with every other element, such as comparing them. Bubble sort is an example of this.