Visteon Interview Question

Time complexity of a code and ip protocol