Create linked list from a given array
Given an array arr[] of size N. The task is to create linked list from the given array.Examples: Input : arr[] = {1, 2, 3, 4, 5}Output : 1->2->3->4->5Input :arr[] = {10, 11, 12, 13, 14}Output : 10->11->12->13->14Simple Approach: For each element of an array arr[] we create a