Currently @ Bank of America
Blogging @ dsfaisal.com
- Function call management (call stack)
- Undo/Redo operations
- Expression evaluation
- Browser history
- Syntax parsing
- Function call management (call stack)
- Undo/Redo operations
- Expression evaluation
- Browser history
- Syntax parsing
- push(): Add element to top
- pop(): Remove and return top element
- peek(): View top element without removing
- isEmpty(): Check if stack is empty
- getSize(): Get number of elements
- clear(): Remove all elements
- push(): Add element to top
- pop(): Remove and return top element
- peek(): View top element without removing
- isEmpty(): Check if stack is empty
- getSize(): Get number of elements
- clear(): Remove all elements
- Items can only be added/removed from one end (the top)
- The last element added is the first one to be removed
- Access to elements in the middle is not allowed
- Items can only be added/removed from one end (the top)
- The last element added is the first one to be removed
- Access to elements in the middle is not allowed
● Building reusable components with default styles
● Allowing style overrides via props
● Handling conditional classes
● Ensuring Tailwind classes don't conflict
● Building reusable components with default styles
● Allowing style overrides via props
● Handling conditional classes
● Ensuring Tailwind classes don't conflict