subject
Computers and Technology, 19.04.2021 14:00 Frankia

Lists of lists of type are suitable for implementing another algorithm. for sorting - sorting with firmware. Suitable for cases where elements
we have to sort, they are not given to us at the beginning, but we get new ones from time to time
elements that must enter the appropriate position between the already sorted elements.
Respond. To do this, when a new element arrives, we find the index of the first element in the loop.
a larger item sorted by it and insert a new item in its place. Work
the basic algorithm is correct, we need to process the first element separately and complete
execution of the program if the number n of elements is 1.

Stages:
â–ª Enter the length of the sheet using the keyboard.
â–ª Cycle of traversing the sheet and entering data into it, and if the length consists of
one element to complete the program
â–ª Loop to traverse the sheet, starting at the second element to find the index
the first is greater than the entered element
â–ª If the index found is equal to the length of the list, insert the desired value
â–ª Otherwise, insert the desired value instead of the found element.

Please help me, it's important

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:50
Match the personality traits with their description
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
question
Computers and Technology, 22.06.2019 20:50
What is the difference between windows 7 and windows 10?
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Which of the following includes the three primary network access technologies? dsl, cable modem, broadband lan, wan, man voip, uc, iptv tcp/ip, ftp, dhcp
Answers: 2
You know the right answer?
Lists of lists of type are suitable for implementing another algorithm. for sorting - sorting with...
Questions
question
Mathematics, 13.11.2019 14:31
question
History, 13.11.2019 14:31
question
Mathematics, 13.11.2019 14:31
question
Chemistry, 13.11.2019 14:31
question
Mathematics, 13.11.2019 14:31