function someFunction(n) { while (true){ console.log(n); } } Time Complexity of the java script function is - Study24x7
Social learning Network
28 Jun 2020 12:24 AM study24x7 study24x7

function someFunction(n) {
while (true){
console.log(n);
}
} Time Complexity o...

See more

A

O(n)

B

O(1)

C

O(0)

D

O(∞)

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