Answer:
sexxxxx chaaaaat insta id abhilash0351
Answer:
see explaination
Explanation:
Please kindly check attachment for the step by step solution of the given problem
When the email was sent as a group email
Answer:
def insSort(arr):
ct=0;
for i in range(1, len(arr)):
key = arr[i]
j = i-1
while j >=0 and key < arr[j] :
arr[j+1] = arr[j]
j -= 1
ct=ct+1;
arr[j+1] = key
return arr,ct;
print(insSort([2,1]))
Output of the program is also attached.