Computer Science, asked by kokarenandini93, 6 months ago

consider array size as 10 there are 6 elements in array the value at index 7 that will be deleted what will be the output

Answers

Answered by starboiiii
0

Answer:

A simple solution is to consider every element one by one. For every element, compare it with all elements on the left and all elements on right. The time complexity of this solution is O(n2).

Answered by sanjana141421
0

Explanation:

Answer: As you are inserting the value in the 10th position or 9th index it would be done statically so when you will be printing the elements of the array. All the 8 element will be printed correctly and the ninth element will varies from compiler you use.

Similar questions