< DSA QUIZ 3 Spring 2022 Data Structure & Algorithm Quiz 3 Name: Reg #: Question # 1: Write a C++ code to display the mi
Posted: Mon May 02, 2022 12:25 pm
do all please
do it simply.
< DSA QUIZ 3 Spring 2022 Data Structure & Algorithm Quiz 3 Name: Reg #: Question # 1: Write a C++ code to display the middle value of Single Linked List (null terminated). 1+ 2+ 3+ 4+ 5+ nullptr 3 is the middle value. Question # 2: Write a C++ code to display a Single Linked List in Reverse Order. 1 — 2 — 3+ 4+ 5 → nullptr Output: 5,4,3,2,1
do it simply.
< DSA QUIZ 3 Spring 2022 Data Structure & Algorithm Quiz 3 Name: Reg #: Question # 1: Write a C++ code to display the middle value of Single Linked List (null terminated). 1+ 2+ 3+ 4+ 5+ nullptr 3 is the middle value. Question # 2: Write a C++ code to display a Single Linked List in Reverse Order. 1 — 2 — 3+ 4+ 5 → nullptr Output: 5,4,3,2,1