Single Linked List implementation in Scala
Linked list is linear data structure where elements are not sorted and there memory locations are not in sequence.So liked list has Struct called Node which hold data and reference to the next element.
As shown in the above diagram linked list contain's node where first node