Linked list and pair

Can the same thing be achieved by using pairs instead of a linked list.

@a.amanbhardwaj6 linklist is like a array and pair only contains two elements , ( how can they be same)