function someFunction(n) {2 for (var i=0;i - Study24x7
Social learning Network
26 Jun 2020 01:09 AM study24x7 study24x7

function someFunction(n) {2
for (var i=0;i<n;i++) {
for (var j=0;j<n;j++) {
for (var k=0;k<n;k++) {
for (var l=0;l<10;l++) {
console.log(i+j+k+l);
}
...

See more

A

O(n)

B

O(n*n)

C

O(n*n*n)

D

O(10*n*n*n)

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles