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.
Oh yeah yeah I don’t know ♂️ is
Answer:
First, you need to start the OSPF process by executing the command:
<em>Router (config)# router ospf {process-ID#}</em>
Then, you have to instruct the router to advertise the networks that are directly linked to it by entering this network command with the area ID number for that network:
Router (config-router)# network {192.168.10.0} {255.255.255.0} area {0}