Question d’entretien chez Amazon

A leetcode linked list question on manipulating prev and next pointers