#include <stdio.h> #include <stdlib.h> typedef struct ListNode { int data; struct ListNode *next; } ListNode; struct ListNode * createList(int arr[], int n, int index) { struct ListNode *ptr; if (index == n) return NULL; ptr = (struct ListNode *) malloc(sizeof *ptr); ptr->data = arr[i...