~~~ 𝑻𝒉𝒆 π‘Ίπ’†π’“π’Šπ’†π’” 𝒐𝒇 π‘©π’Šπ’ˆ 𝑢 ~~~𝑷𝒂𝒓𝒕 – 𝑰𝑽


for(int i = 0; i < n; i++) {
for(int j = 0; j < n; j++) {
// Some constant time operation
}
}

for(int i = 0; i < n; i++) {
for(int j = 0; j < n; j++) {
for(int k = 0; k < n; k++) {
// Some constant time operation
}
}
}

Leave a Reply