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
Anestetic [448]
3 years ago
9

Rewrite the MERGE procedure so that it does not use sentinels, instead stopping once either array L or R has had all its element

s copied back to A and then copying the remainder of the other array back into A.
Computers and Technology
1 answer:
Strike441 [17]3 years ago
4 0

Answer:

Merge sort is a sorting technique based on divide and conquer technique.

Explanation:

MERGE(A, p, q, r)

   n1 = q - p + 1

   n2 = r - q

    L[1..n1] and R[1..n2]   this creates the new array

   for i = 1 to n1

       L[i] = A[p + i - 1]

   for j = 1 to n2

       R[j] = A[q + j]

   i = 1

   j = 1

   for k = p to r

       if i > n1

           A[k] = R[j]

           j = j + 1

       else if j > n2

           A[k] = L[i]

           i = i + 1

       else if L[i] ≤ R[j]

           A[k] = L[i]

           i = i + 1

       else

           A[k] = R[j]

           j = j + 1

You might be interested in
If a user on a laptop complains that they are unable to sign into windows even though they are certain they are entering the cor
earnstyle [38]
Retry the username or email and password again if that dont work then they will have to change the password cause it seems that they have forgot it
6 0
3 years ago
Which symbol shows an input?
LenaWriter [7]

Answer:

Document symbol

Explanation:

This symbol is shaped like a rectangle with its bottom side in a wave, and it is used to represent the input or output of a document. For instance, this symbol might be used to outline a document input, such as receiving an email or report.

hope it helps

mark me brainliest pls

8 0
3 years ago
The _____ method randomly rearranges the items in the list provided in the parentheses.
yulyashka [42]
Shuffle is the answer
8 0
3 years ago
Read 2 more answers
Should Manufacturers Include Extra Programs in Operating Systems for Computers and Mobile Devices?
Gennadij [26K]

Answer:

Well, it depends. Sometimes the extra programs can be useful or just plain fun, in which case the answer is yes. But extra programs can also sometimes be utterly useless and get in the way, in which case the answer is no.\

4 0
3 years ago
PLS HELP I WILL GIVE BRAINLY<br><br> how does gg docs show the benefits of Cloud computing?
bija089 [108]

Answer:

Explanation:

Go0gle Docs is a web-based office suite composed of three key components: the G0ogle Docs word processing program, Go0gle Spreadsheets spreadsheet program, and G0ogle Presentations presentation program. But Go0gle Docs isn't the only cloud computing application available today. Go0gle Docs is a type of cloud computing.

The simplest form of cloud computing is Software as a Service (SaAS). One such good example of SaAs is go0gle docs. Go0gle Docs, Sheets, and Slides are included with Go0gle Drive Enterprise, allowing for collaborative editing of documents, spreadsheets, presentations, drawings, forms, and other file formats. Users may also view and collaborate on Microsoft Office files as well as 60+ other file types with Drive Enterprise.

(Hope this helps can I pls have brainlist (crown) ☺️

6 0
3 years ago
Other questions:
  • What are some common characteristics of jobs in this career cluster? check all that apply
    10·2 answers
  • Which of the following is not the name of an air mass?
    7·1 answer
  • What are the 6 external parts of a computer system
    5·1 answer
  • WILL MARK BRAINIEST
    12·1 answer
  • Logan has developed an excellent presentation with interesting content. He received great feedback on the evaluation
    10·1 answer
  • When memory allocation is ____, it means all portions of the program and OS are loaded into sequential locations in memory.
    15·1 answer
  • guys look at this https://brainly.com/app/profile/17971193/answers i need help and tips to get this cute girl to give me her num
    14·2 answers
  • What is a functional organisation? and how it functions​?
    12·1 answer
  • Select the correct answer.
    10·1 answer
  • The Horse table has the following columns:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!