/* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
\r
/* Let us create a sorted linked list to test the functions\r
Created linked list will be 11->11->11->13->13->20 */\r
- push(&head, 20);\r
- push(&head, 13);\r
- push(&head, 13); \r
- push(&head, 11);\r
- push(&head, 11);\r
- push(&head, 11); \r
- \r
+ pushll(&head, 20);\r
+ pushll(&head, 13);\r
+ pushll(&head, 13);\r
+ pushll(&head, 11);\r
+ pushll(&head, 11);\r
+ pushll(&head, 11);\r
+\r
printf("\n Linked list before duplicate removal ");\r
- printList(head); \r
- \r
+ printList(head);\r
+\r
/* Remove duplicates from linked list */\r
- removeDuplicates(head); \r
- \r
- printf("\n Linked list after duplicate removal "); \r
- printList(head); \r
- \r
+ removeDuplicates(head);\r
+\r
+ printf("\n Linked list after duplicate removal ");\r
+ printList(head);\r
}\r
#endif\r