Create ImplementStackUsingArray#5802
Create ImplementStackUsingArray#5802singhshreya-bhriguvanshi wants to merge 1 commit intoTheAlgorithms:masterfrom
Conversation
A program to implement a Stack using Array. The push() method takes one argument, an integer 'x' to be pushed into the stack and pop() which returns an integer present at the top and popped out from the stack. If the stack is empty then return -1 from the pop() method.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5802 +/- ##
============================================
- Coverage 64.77% 64.76% -0.02%
Complexity 4295 4295
============================================
Files 599 599
Lines 16764 16764
Branches 3219 3219
============================================
- Hits 10859 10857 -2
- Misses 5462 5463 +1
- Partials 443 444 +1 ☔ View full report in Codecov by Sentry. |
siriak
left a comment
There was a problem hiding this comment.
Your file name doesn't end in .java, and you need to add JUnit tests
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution! |
Nagpal-11
left a comment
There was a problem hiding this comment.
Good way of approaching the problem.
Yeah I added the same comment. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution! |
|
Please reopen this pull request once you have made the required changes. If you need help, feel free to ask in our Discord server or ping one of the maintainers here. Thank you for your contribution! |
A program to implement a Stack using Array. The push() method takes one argument, an integer 'x' to be pushed into the stack and pop() which returns an integer present at the top and popped out from the stack. If the stack is empty then return -1 from the pop() method.
clang-format -i --style=file path/to/your/file.java