Zalo interview question

implement map using array 7 network layers TCP & UDP