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
Anna71 [15]
2 years ago
5

Give a linear-time algorithm to sort the ratios of n given pairs of integers between 1 and n. I.e., we need to sort, within O(n)

time, n pairs of the form (ai , bi) where 1 ≤ ai ≤ n and 1 ≤ bi ≤ n using the sort key ai bi . Prove both run-time and correctness.
Computers and Technology
1 answer:
Volgvan2 years ago
8 0

Answer:

12

Explanation:

You might be interested in
Processor is used to process the data.<br>A)true <br>B)False​
Scilla [17]

Answer:

True

Explanation:

If you're talking about CPU (Central processing unit), then you are true. It has no memory at all, all it does is process data. That's why you need RAM and hard drives for memory.

6 0
3 years ago
25 Points Discuss games you have played that have poor game design puzzles and how you might improve them.
Pavel [41]
Hey here is your long answer it’s worth 25points
Are video games good or bad for you? It can be both.

Video games are frowned upon by parents as time-wasters, and worse, some education experts think that these games corrupt the brain. Playing violent video games are easily blamed by the media and some experts as the reason why some young people become violent or commit extreme anti-social behavior. But many scientists and psychologists find that video games can actually have many benefits – the main one is making kids smart. Video games may actually teach kids high-level thinking skills that they will need in the future.

“Video games change your brain,” according to University of Wisconsin psychologist C. Shawn Green. Playing video games change the brain’s physical structure the same way as do learning to read, playing the piano, or navigating using a map. Much like exercise can build muscle, the powerful combination of concentration and rewarding surges of neurotransmitters like dopamine strengthen neural circuits that can build the brain.

According to Marc Palaus, author of the study published in Frontiers in Human Neuroscience, there is a broad consensus in the scientific community that playing video games not only changes how the brain performs, but also its structure.

Below are the good and bad effects of video games – their benefits and disadvantages, according to researchers and child experts:

The Benefits: Positive Effects of Video Games
When your child plays video games, it gives his brain a real workout. In many video games, the skills required to win involve abstract and high level thinking. These skills are not even taught at school.
3 0
3 years ago
Which of the following binary (base-2) numbers is LARGEST?
Lemur [1.5K]

Answer:

A. 11000000

Explanation:

A. 11000000 is 192

B. 01111111 is 127

C. 00000001 is 1

D. 10111111 is 191

Therefore, making A the largest.

7 0
3 years ago
What is pseudo code?
Aleksandr [31]

Answer:

a notation resembling a simplified programming language, used in program design.

Explanation:

8 0
3 years ago
Read 2 more answers
Which type of loop is best if you do not know how many times you need the loop to run?
Alex
While: <span> the loop must repeat until a certain "condition" is met.  If the "condition" is FALSE at the beginning of the loop, the loop is never executed.  The "condition" may be determined by the user at the keyboard.  The "condition" may be a numeric or an alphanumeric entry.  <span>This is a good, solid looping process with applications to numerous situations. 
</span></span><span>while:<span>int ctr = 1;
while (ctr < = 20)
{
     cout<< ctr++ <<"\n";
}

</span><span>
</span><span>
</span><span>HOPE i HELPED! brainliest? :D </span></span>
5 0
2 years ago
Other questions:
  • Brian is testing a banking application. He enters an input and expects a certain output. What is the actual output of the applic
    11·1 answer
  • Earthquakes with magnitudes between 1.0 and 2.9 on the Richter scale are
    11·1 answer
  • A network administrator needs information about the printers that employees can access. Where can he find the information? The a
    10·2 answers
  • Need help with just #8
    12·1 answer
  • Which key should you press and hold to select multiple cells?
    8·2 answers
  • Explain what an IM is, and what is the technology shown in the accompanying figure
    7·2 answers
  • Write a SELECT statement that returns one row for each musician that has orders with these columns:
    13·1 answer
  • Who is your favorite person from squid game?
    13·2 answers
  • Content area a leased asset will appear on the balance sheet as a long-term asset. true false'
    5·1 answer
  • Create a program that prompts the user for a positive integer then prints a right-aligned pyramid using that number using the st
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!