Pregunta de entrevista de Satori Cyber

I was asked to write code for implement linked list several basic functions, such as: Inserting a new node into the list Deleting a node from the beginning of the list Deleting a node from the end of the list And other common operations related to singly or doubly linked lists