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
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
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
Math,
3 months ago
English,
6 months ago
Math,
6 months ago
Physics,
11 months ago
World Languages,
11 months ago