/// <summary> /// Example - Prints a Linked List reversed using recursion /// </summary> private static void Example_PrintLinkedListRecursivelyReversed() { if (head == null) { Example_CreateLinkedList(); } PrintLinkedList.RunRecursivelyReverse(head); }
/// <summary> /// Example - Prints a Linked List reversed /// </summary> private static void Example_PrintLinkedListReversed() { if (head == null) { User_Input_LinkedList_NotFound(); } PrintLinkedList.RunIterativelyReverse(head); }