Question d’entretien chez Quadcode

How to implement List.reverse() with O(1) complexity?