Arista Networks interview question

1) Delete nodes from linked lists 2) remove spaces from string 3) reverse a singly linked list