1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Olin [163]
2 years ago
13

Calculate the time complexity for the following function in terms of Big O notation. Explain your answer.

Computers and Technology
1 answer:
DerKrebs [107]2 years ago
4 0

Answer: It is 1 int count = 0;

2 for (int i = n; i >= 0; i /= 2)

3 count += i;

4 for (int j = 0; j < n; j++)

5 count +=j;

6 return count;

SO it is j(0-(-n)

Explanation: Im dum

You might be interested in
Identify the problems that computer program bugs can cause. Check all that apply.
Sveta_85 [38]

Answer:

acde not b though

Explanation:

8 0
3 years ago
Read 2 more answers
What is the term for unsolicited Email​
tiny-mole [99]
Spam - unnecessary or unprecedented emails
3 0
3 years ago
Polls shows that most Americans....
Len [333]
I dont know whats the contexts behind this uestion but i think the answer is B
6 0
3 years ago
You can create a ____ partition to hold files that are created temporarily, such as files used for printing documents (spool fil
LuckyWell [14K]

Answer:

The answer is "Option C".

Explanation:

The /var method can also be used to override the values of the current variable, or generate, and assign values to new variables. It generates a local variable, that can be modified via the -g switch, and other choices are not correct, which can be described as follows:

  • In option A, It is incorrect because it uses to store temporary data file.
  • In option B, It is used by a system administrator, that's why it is incorrect.
  • In option D, It isn't correct because it prints a warning message.
4 0
3 years ago
Groups to which we belong are defined late in our development true or false
Anna71 [15]
The answer is false......
7 0
4 years ago
Other questions:
  • Implement the function calcWordFrequencies() that uses a single prompt to read a list of words (separated by spaces). Then, the
    8·1 answer
  • Need Help ASAP!
    14·2 answers
  • It is either snoming or below freezing
    10·1 answer
  • After configuring a static IP address on a desktop computer, the technician finds that he cannot communicate with other devices
    10·1 answer
  • If a domain consists of dcs that are running versions of windows server earlir than windows server 2008, what replication method
    12·1 answer
  • You are going to write a program for Computer test which will read 10 multiple choice questions from a file, order them randomly
    11·1 answer
  • If a website ends with .gov does it mean that its written by the government or?
    11·2 answers
  • When responding to an incident in which explosive materials are suspected, is it safe to use wireless communication devices?
    12·1 answer
  • HELPPP I cand find my sound card/driver on my computer, and I cant hear anything, I have tried to update the audio driver, but w
    7·1 answer
  • Question 3 of 10
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!