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
Orlov [11]
3 years ago
15

Setting up the initial values for the min and max depends on whether n is odd or even. If n is even, compare the first two eleme

nts and assign the larger to max and the smaller to min. Then process the rest of the elements in pairs. If n is odd, set both min and max to the first element. Then process the rest of the elements in pairs.
A) Write the above description in algorithmic form. Follow this notation:
MINIMUM(A)
1 min = A1
2 for = 2 to A. length
3 If min > A[i]
4 min- A
5 return min
B) Show that your algorithm need at most 3*n/2.
Computers and Technology
1 answer:
sashaice [31]3 years ago
3 0
The answer is the number (2)
You might be interested in
________ is a technique where the general characteristics are kept and the details are hidden.
valentinak56 [21]

Abstraction is a technique where the general characteristics are kept and the details are hidden.

<h3>What is abstraction?</h3>

Abstraction is the way a person used in  hiding information that are not needed or unwanted.

Note that one can use abstraction when using abstract class and interfaces and as such, Abstraction is a technique where the general characteristics are kept and the details are hidden.

Learn more about abstraction from

brainly.com/question/7994244

#SPJ1

5 0
2 years ago
2(x-5)-3(3-x)=1/2(x-2)
lana [24]

you distribute and then combine like terms. x=4 :))

4 0
3 years ago
In the following project, you will edit a worksheet that will be used to summarize the operations costs for the Public Works Dep
yan [13]

Answer:cgtd

Explanation:

3 0
3 years ago
9. The monumental failure of Atari's E.T Extra-terrestrial was, among other things, due to the fact that ______________
nlexa [21]

Answer:

c

Explanation:

5 0
3 years ago
What is meant by hacking in internet ?ASAP PLEASEEEE​
yanalaym [24]
Im not sure if you mean in or by but heres my answer: Basically to attempt to exploit a private network, control over computers, viruses and such.
8 0
3 years ago
Other questions:
  • Data means a group of numbers. <br> a. True<br> b. False
    7·1 answer
  • Ano kaya ang nararamdaman mo at mangyari sayo kung tatlong araw ka nang hindi kumakain​
    6·1 answer
  • True or False <br><br> Rootkits are only made by black-hat hackers.
    11·1 answer
  • The _______ is the continuing development of the internet that allows everyday objects embedded with electronic devices to send
    11·1 answer
  • ANSI defines four events that signal the end of a transaction. Of the following events, which is defined by ANSI as being equiva
    14·1 answer
  • What is wrong with the formula below?<br><br> SUM(A1:A5)/SUM(B1:B5)
    7·1 answer
  • When you create new document, you have the option to create a blank document or a predifined
    7·1 answer
  • _____ is a method of computing that delivers secure, private, and reliable computing experiences based on sound business practic
    7·1 answer
  • Need the answer ASAP!!! I’ll mark brainliest if correct
    12·2 answers
  • Sarah is a detall-oriented programmer. While testing her program, what other skill would she have to apply in order to detect al
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!