Update 2 files
- /stacks/NodeStack.java
- /stacks/ReverseStack.java
This PR introduces two new Java classes: NodeStack and ReverseStack. NodeStack provides a node-based stack implementation with various stack operations such as push, pop, and peek. ReverseStack offers functionality to reverse a stack using recursion, including methods to insert elements at the bottom of the stack. These additions enhance the data structure capabilities of the project. Summary by Bito
Code change type: Functionality, Error Handling, Refactoring
Unit tests added: False
Estimated effort to review (1-5, lower is better): 2
Edited by Rishabh Bohra