Pergunta de entrevista da empresa Nokia

Code Write C++ code for reverse a list without extra space