#include <time.h> int getVal(struct ListNode* head,int index) { struct ListNode* tmp=head; index -=1; while(index) { tmp=tmp->next; index--; } return tmp->val; } void setVal(struct ListNode* head,int index, int val) { struct ListNode* tmp=h...