NOTE:
No global declarations
Make use of classes
And Run test the functions in main
Task:
Write linked list implementation of stack that only inserts elements if they are not present in the stack(i.e no duplicate elements). Functions to implement
1)insert function
2)delete/pop function
3)display function
4)search function
Comments
Leave a comment