Skip to content

feat: add StackUsingLinkedList implementation with tests#7382

Open
prashantpiyush1111 wants to merge 9 commits intoTheAlgorithms:masterfrom
prashantpiyush1111:stack-linkedlist
Open

feat: add StackUsingLinkedList implementation with tests#7382
prashantpiyush1111 wants to merge 9 commits intoTheAlgorithms:masterfrom
prashantpiyush1111:stack-linkedlist

Conversation

@prashantpiyush1111
Copy link
Copy Markdown
Contributor

Added StackUsingLinkedList implementation using a singly linked list.

Features:

  • Supports push, pop, peek, and isEmpty operations
  • Proper documentation with explanations
  • Unit tests covering normal and edge cases

This improves the stack data structure collection and ensures correctness through test cases.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.51%. Comparing base (79bc620) to head (f330d39).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7382      +/-   ##
============================================
+ Coverage     79.50%   79.51%   +0.01%     
- Complexity     7161     7170       +9     
============================================
  Files           797      798       +1     
  Lines         23409    23426      +17     
  Branches       4603     4603              
============================================
+ Hits          18611    18628      +17     
  Misses         4054     4054              
  Partials        744      744              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants