Question d’entretien chez Nokia

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