Blaise9914 Blaise9914
  • 28-02-2024
  • Computers and Technology
contestada

What is the order of the following code?

public static int f(int n)
int s = 0;
for (int i = 0; i < n; i++)
s = s + n;

return s;


1) o(1)
2) o(0)
3) o(n log n)
4) o(n)

Respuesta :

Otras preguntas

what tools or steps does the constitution put into place for citizens to stand up and fight for what they believe in ?
Which word in the sentence is a noun? My feet are very tired after walking so far.
what were artist to practice realism concerned with
Theodore Roosevelt’s Progressive party appealed to some Republicans and others who wanted change and reform.
James complete 18 math problems this is 30% how much more does he have
In an effort to deal with an increasing number of immigrants, in 1892 the U.S. government
Why did the National Assembly form?
What type of verse form is used in Walt Whitman's "I Hear America Singing" and in Langston Hughes's "I, Too"? heroic couplet free verse blank verse sonnet haiku
The type of greeting used in a conversation depends on which of the following? history of the relationship context type of conversation desired all of the above
What factors helped to create a national culture (one that all regions of America share)?