Lecture #05
Lecture #05
LECTURE # 04
LEARNING OUTCOME
CLO_1:
Describe basic ADTs (stack, queue, array, list, node list, priority
queue, tree, map and dictionary) and their related data structure
implementations(array, single linked structure, double linked
structure, heap, hash table, binary search tree, AVL tree).
• Direct:
• Visited web pages history (Back button)
• Undo changes on your word document: this operation is accomplished by
keeping all text changes in a stack.
• Undo/Redo stacks in Excel or Word.
• Indirect:
• Functions calls
• Arithmetic Expression evaluation : (Prefix, Infix, Postfix Notations)
• Reversing Strings We can use stacks to reverse data (example: files, strings)