You need to implement the List ADT using Linked list implementation for the following operations in a file named “list.h”. You can add any operation if needed: list initialize() boolean IsEmpty (List) list insert (List and character) list delete(List and character) listPointer search (List)
I need to design, analyze, and implement
The program should read a sequence of characters and should insert unseen character at the front of the list. The program should check if the character is not in the list to be inserted at the front of the list. The program should delete a duplicate character and delete it from the list and insert it at the beginning of the list. The program should check if the character is already in the list and delete the character from the list and insert it again at the beginning of the list.
You need to implement the List ADT using Linked list implementation for the following operations in a file named “list.h”. You can add any operation if needed:
-
- list initialize()
- boolean IsEmpty (List)
- list insert (List and character)
- list delete(List and character)
- listPointer search (List)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps