Computers and Technology, 19.04.2021 14:00 samafeggins2
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
Answers: 2
Computers and Technology, 23.06.2019 07:00
What are three software programs for mobile computing?
Answers: 1
Computers and Technology, 24.06.2019 15:30
Emma is using an artificial intelligence system, which contains information on botany, to identify a type of plant from an image. what type of ai is emma using?
Answers: 1
Computers and Technology, 24.06.2019 20:50
Which key function of a business involves finding, targeting, attracting, and connecting with the right customers?
Answers: 3
Lists of lists of type are suitable for implementing another algorithm.
for sorting - sorting with...
Social Studies, 01.05.2021 18:20
Geography, 01.05.2021 18:20
Physics, 01.05.2021 18:20
Social Studies, 01.05.2021 18:20
Mathematics, 01.05.2021 18:20
English, 01.05.2021 18:20
Mathematics, 01.05.2021 18:20
Mathematics, 01.05.2021 18:20
Mathematics, 01.05.2021 18:20