nyababy63981 nyababy63981
  • 05-02-2024
  • Computers and Technology
contestada

Find the Big-notations for the following pseudocode snippets with regard to n. Note, you must show us how to find the upper bound and the lower bound or you will get zero points.

A.
for k=0; k for j=6; j // code block that takes a constant runtime
}
}

B.
k=1;
do {
for j=1; j // code block that takes a constant runtime
}
j = j * 2;
} until j >= n;

Respuesta :

Otras preguntas

I need the answer pleasethe solution to 3х - 7= 26 is x=​
A town has a population of 13000 and grows at 2.5% every year. What will be the population after 5 years, to the nearest whole number?
why do zebras live in plains
1. él O estamos O estoy O está O estás
I'll mark brainliest, pls give at least ten differences between plot and setting​
Can only be found in the nucleus DNA only RNA only Both DNA and RNA Neither DNA nor RNA
How should a person's family influence his or her mental and emotional health? O A. By refusing to discuss stressful problems B. By providing structure and limi
What will a species that adapts be more likely to do?.
please help i’m stuck in this!
When rainwater permeates through the soil and gets trapped underground, it is called A. throughflow B. a permeated water source D. groundwater