Pergunta de entrevista da empresa Shopee

Describe how a HTTP request is made and processed. Describe how a 3-way TCP handshake is done. Why must there be a server between the client and the database? What advantages or disadvantages of C++ are there in terms of security, optimisations or memory? Write code to take in inputs to move a robot along a 2d plane, then find a way to identify if the path taken, when repeated, will be discrete or non-discrete. Given 2 sorted arrays, find the intersection of the 2 arrays with optimisation requirements.