NVIDIA interview question

Write an insert method for doubly linked list