This question has been answered, plz check: https://gateoverflow.in/56561/question-3-sliding-window-protocol
Check question no-3: http://www.cmlab.csie.ntu.edu.tw/~rod24574575/CN2015/homeworks/hw4_sol.pdf
2nd link is not working. it's forbidden
64.3k questions
77.9k answers
244k comments
80.0k users