11736 - 231001_12/14_practice13-3   

Description

Finish the following 3 functions to finish the problem

(1.) void createNodeList(int n) //function to create the list

(2.) void MiddleNodeDeletion(int pos) //function to delete a node from middle

(3.) void displayList() //function to display the list

 

Note!! You must follow the instruction to create the same function name

Input

 

  • The number of nodes (An integer)
  • The data for each node (An integer)
  • The position of node to delete (An integer)

Output

  • See the sample I/O

Sample Input  Download

Sample Output  Download

Tags




Discuss