Function to print nodes in a given linked list
static void printList ( Node start ) { Node temp = start ; System . out . println ( ) ; while ( temp != null ) { System . out . print ( temp . data + " ▁ " ) ; temp = temp . next ; } }