Skip to content

added MergeSort and QuickSort for the java#46

Merged
admirerr merged 1 commit into
admirerr:mainfrom
attu0:addednewsort
Oct 2, 2025
Merged

added MergeSort and QuickSort for the java#46
admirerr merged 1 commit into
admirerr:mainfrom
attu0:addednewsort

Conversation

@attu0
Copy link
Copy Markdown
Contributor

@attu0 attu0 commented Oct 2, 2025

This pull request adds implementations for two classic sorting algorithms in Java: Merge Sort and Quick Sort. Each algorithm is provided in its own file, complete with a main method for demonstration and testing. The code is well-documented, making it easy to understand the logic and flow of each sorting method.

Sorting algorithm implementations:

  • Added a new MergeSort class in MergeSort.java that implements the merge sort algorithm, including detailed comments, a demonstration in the main method, and a Solution helper class for the sorting logic.
  • Added a new QuickSort class in QuickSort.java that implements the quick sort algorithm, with a complete test in the main method and helper functions for partitioning, swapping, and printing the array.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 2, 2025

🎉 Welcome to Hacktoberfest 2025, @attu0! 🎃

Thank you for your first contribution to our DSA repository! Here's what happens next:

🔍 Automatic Checks

  • Code Validation: Passed
  • 🧪 Compilation Tests: Passed

📋 Next Steps

🎯 Great job! Your code compiled successfully. Maintainers @admirerr and @kartikey2991 will review your PR soon.

🎁 What You Get

  • 🏆 Hacktoberfest Credit: This PR counts toward your 6 PR goal for exclusive T-shirt + Tree!
  • 🌟 Hall of Fame: You'll be featured in our contributors list
  • 📚 Learning: Code review feedback from experienced developers

💡 Tips for Success

  • Follow our Contributing Guidelines
  • Add comments explaining your algorithm
  • Include time/space complexity analysis
  • Test your code before submitting

Welcome to the community! 🚀

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 2, 2025

🤖 Automated PR Status

🔍 Code Validation

Passed - File naming and structure look good!

🧪 Compilation Tests

Passed - All code compiles successfully!

📋 Overall Status

🎉 Ready for Review - Your PR has passed all automated checks!
👥 Maintainers have been notified for review.


This comment was generated automatically. Checks will re-run when you push new commits.

@admirerr admirerr merged commit 5712f3b into admirerr:main Oct 2, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants