Codility Array A Represents A Linked List