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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 07:00, chuchi24
Robots with telescoping arms are sometimes used to perform tasks (e. g., welding or placing screws) where access may be difficult for other robotic types. during a test run, a robot arm is programmed to extend according to the relationship r = 3 + 0.5cos(4θ) and the arm rotates according to the relationship θ=−π4t2+πt , where r is in feet, θ is in radians, and t is in seconds. use a computer program to plot the path of tip a in x and y coordinates for 0 ≤ t ≤ 4s.
Answers: 2
image
Computers and Technology, 22.06.2019 15:30, mariap3504
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
image
Computers and Technology, 22.06.2019 15:30, mikey3882
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
image
Computers and Technology, 22.06.2019 18:30, leannhb3162
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
You know the right answer?
Lists of lists of type are suitable for implementing another algorithm. for sorting - sorting with...

Questions in other subjects:

Konu
History, 30.09.2019 03:00