Skip to content

Add QueueByTwoStacks.java new algorithm #5623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Hardvan
Copy link
Contributor

@Hardvan Hardvan commented Oct 7, 2024

  • 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 code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2024

Codecov Report

Attention: Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.

Project coverage is 54.78%. Comparing base (f34fe4d) to head (fd1a14b).
Report is 24 commits behind head on master.

Files with missing lines Patch % Lines
...rithms/datastructures/queues/QueueByTwoStacks.java 76.47% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5623      +/-   ##
============================================
+ Coverage     54.56%   54.78%   +0.22%     
- Complexity     3413     3461      +48     
============================================
  Files           535      539       +4     
  Lines         15383    15600     +217     
  Branches       2935     2964      +29     
============================================
+ Hits           8393     8547     +154     
- Misses         6637     6697      +60     
- Partials        353      356       +3     

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

@Hardvan Hardvan marked this pull request as ready for review October 7, 2024 10:05
siriak
siriak previously approved these changes Oct 7, 2024
Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@siriak siriak merged commit 9fb8192 into TheAlgorithms:master Oct 7, 2024
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.

3 participants