Question: I have some exercises for my hw about Algorithms and Data structure. Please help me. Write by C/C++. Thanks Exercise 1: 7 points Write a
I have some exercises for my hw about Algorithms and Data structure. Please help me. Write by C/C++. Thanks
Exercise 1: 7 points Write a program in C/C++ to enter a string of characters i.e. your name, then try to compute this string in reverse order using a Stack structure with the Linked List principle. For example: "Nguyen Van A""A Nav Neyugn'" Exercise 2: 8 points Assume that a queue of N passengers waiting to enter a train car Only the first person in the queue can enter at a time New persons arive will go to the end of the qu Implement basic operations for Queue ADT using the Linked List principle to man age the queue
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
