initialize your list and read in the value of n followed by n lines of commands where each command will be of the 7 types listed above. iterate through each command in order and perform the corresponding operation on your list
0
Initialize your list and read in the value of n followed by n lines of commands where each command will be of the 7 types listed above. Iterate through each command in order and perform the corresponding operation on your list.