Skip to content

Feature implementation - Stack using LinkedList (Closes issue #6715)#7380

Open
Andruid929 wants to merge 5 commits intoTheAlgorithms:masterfrom
Andruid929:linkedstack
Open

Feature implementation - Stack using LinkedList (Closes issue #6715)#7380
Andruid929 wants to merge 5 commits intoTheAlgorithms:masterfrom
Andruid929:linkedstack

Conversation

@Andruid929
Copy link
Copy Markdown

  • Added com.thealgorithms.stacks.StackUsingLinkedList, implementation of a Stack using a singly linked list
  • Added tests for each method in the Stack.
  • Documented each member

Javadoc documentation changes
Changed documentation from javadoc to block comments because of build failures caused by dangling javadocs.

Affected classes:

  • com.thealgorithms.conversions.AnyBaseToAnyBase
  • com.thealgorithms.searches.InterpolationSearch
  • com.thealhorithms.searches.LinearSearch
  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new algorithms include a corresponding test class that validates their functionality.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

…of a Stack using a

singly linked list
- Added tests for each method in the Stack.
- Documented each member

**Javadoc documentation changes**
Changed documentation from javadoc to block comments because of
build failures caused by dangling javadocs.

Affected classes:
- com.thealgorithms.conversions.AnyBaseToAnyBase
- com.thealgorithms.searches.InterpolationSearch
- com.thealhorithms.searches.LinearSearch
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.51%. Comparing base (14b6f99) to head (4acfdb1).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7380      +/-   ##
============================================
+ Coverage     79.50%   79.51%   +0.01%     
- Complexity     7162     7171       +9     
============================================
  Files           797      798       +1     
  Lines         23409    23434      +25     
  Branches       4603     4604       +1     
============================================
+ Hits          18611    18634      +23     
  Misses         4054     4054              
- Partials        744      746       +2     

☔ 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.

@Andruid929 Andruid929 marked this pull request as ready for review April 14, 2026 14:15
@Andruid929 Andruid929 marked this pull request as draft April 14, 2026 14:39
@Andruid929 Andruid929 marked this pull request as ready for review April 14, 2026 19:39
@Andruid929 Andruid929 changed the title Feature implementation - Stack using LinkedList (Closes issue #[6715]) Feature implementation - Stack using LinkedList (Closes issue #6715) Apr 14, 2026
@Andruid929
Copy link
Copy Markdown
Author

  • Added com.thealgorithms.stacks.StackUsingLinkedList, implementation of a Stack using a singly linked list
  • Added tests for each method in the Stack.
  • Documented each member

Javadoc documentation changes
Changed documentation from javadoc to block comments because of build failures caused by dangling javadocs.

Affected classes:

  • com.thealgorithms.conversions.AnyBaseToAnyBase
  • com.thealgorithms.searches.InterpolationSearch
  • com.thealhorithms.searches.LinearSearch

Closes #6715

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new algorithms include a corresponding test class that validates their functionality.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

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