Amazon interview question

TCP Model