O(n²) quadratic time
easy 14 minO(n²) means the work grows with the square of the input, usually because a loop runs inside another loop over the same data.
O(n²) means the work grows with the square of the input, usually because a loop runs inside another loop over the same data.