Learned Algorithms and Data Structures
Double nested loops have time complexity of O(n²)
Note: depends on the value of n.