Project2

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> struct ListNode{ int data; struct ListNode *next; }; void print(struct ListNode *head){ struct ListNode *cur=head; for(cur=head;cur!=NULL;cur=cur->next){ printf("%d",cur->data); } cout<<endl; } int length(struct ListNode *head){ struct ListNode *cur=head; int count=0; for(cur=head;cur!=NULL;cur=cur->next){ count++; } return count; } struct ListNode *insert int main() { ListNode list; }
Editor Settings
Theme
Key bindings
Full width
Lines