Big O Notation Simulator
Select Complexities to Compare:
Operations for Input Size n = 50:
| Complexity | Operations | Performance | Space Complexity |
|---|---|---|---|
| O(1) | 1.00 | Excellent | O(1) |
| O(log n) | 5.64 | Good | O(log n) |
| O(n) | 50.00 | Fair | O(n) |
| O(n log n) | 282.19 | Fair | O(n log n) |
| O(n²) | 2.50K | Bad | O(n²) |