subject

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 someone help me it’s important

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 19:30
2. fluorine and chlorine molecules are blamed fora trapping the sun's energyob forming acid rainoc producing smogod destroying ozone molecules
Answers: 2
question
Computers and Technology, 24.06.2019 10:40
Joe needs to see the slide transitions and animations he has applied to his slides in a large view. which presentation view should he use? in which tab would joe find the animations option to make further changes, if any?
Answers: 1
question
Computers and Technology, 24.06.2019 23:50
Which career involves analyzing various factors that influence the customer decision-making process? analyze various factors that influence the customer decision-making processes. reset next
Answers: 2
question
Computers and Technology, 25.06.2019 04:30
Which relativos possible when two tables share the same primary key? a.) one-to-one b.) one-to-many c.) many-to-one d.) many-to-many
Answers: 2
You know the right answer?
Lists of lists of type are suitable for implementing another algorithm. for sorting - sorting with...
Questions
question
History, 17.06.2021 07:10
question
Mathematics, 17.06.2021 07:10
question
Chemistry, 17.06.2021 07:10
question
Chemistry, 17.06.2021 07:10