FDS Lab Questions
FDS Lab Questions
2. Use a simple array of strings representing countries and search for a specific
country in an array.
5. In a library scenario, using queue check whether the library has books or not.
7. Implement a program using a stack to manage a simple list of food items in a hotel.
12. Perform adding and removing functions of stack using first five prime numbers.
13. Use a simple array of strings representing countries and search for a specific
country in an array.
14. Use queue data structure to represent the number of courses available in a college
and retrieve the size of the queue.
15. Use stack to manage the train ticket which is booked already and remove the
ticket which has to be cancelled.
16. Perform pre order traversal to represent the company's organizational structure
17. By using the collection of students names as nodes implement a binary search
tree program.
19. Use a simple array of strings representing number and search for a specific
number in an array.
20. Implement a program that uses string to represent a stack of countries in a world
map.
22. Represent a list of candidates applied for a job using doubly linked list.
23. In a bank scenario, using queue check whether the bank account has balance or
not.
25. Implement a program using a stack to manage a list of sports for a sports meet.
26. Demonstrate a program for removing the items from the cart list using stack.
27. Perform the enqueue and dequeue operations by using colors as string.
28. Perform adding and removing functions of stack using first five odd numbers.
27. Perform the enqueue and dequeue operations by using colors as string.
28. Perform adding and removing functions of stack using first five odd numbers.
30. Program to find the number of students attending a seminar by finding its size
using queue.
31. Use queue data structure to represent the number of departments available in a
college and retrieve the size of the queue.
33. Use stack to manage the bus ticket which is booked already and remove the ticket
which has to be cancelled. I