Class 12 CS Chapter 10 Back Exercise Part C Solutions Sumita Arora New Syllabus / listing12CSSA, Uncategorized / By Neha 1. Write a program that depending upon user’s choice, either pushes or pops an element in a stack. ...click here for answer 2. A line of text is read from the input terminal into a stack. Write an program to output the string in the reverse order, each character appearing twice. (e.g., the ...click here for answer 3. Write a program that depending upon user’s choice, either pushes or pops an element in a stack. The elements are shifted towards right so that top always remains at 0th (zeroth) index. # Code ...click here for answer 4. Write a program to insert or delete an element from a queue depending upon user’s choice. The elements are not shifted after insertion or deletion. ...click here for answer 5. Write a program to insert or delete an element from a queue depending upon user’s choice. ...click here for answer 6. Write a program to implement input-restricted deque. (Both the operations i.e., insertions and deletions should be taken care of.) ...click here for answer 7. Each node of a STACK contains the following information : ...click here for answer 8. Write a program that implements three queues namely HighestPr, NormalPr and LowestPr. The program accepts an element alongwith its priority from the user, e.g., ...click here for answer