Skip to content

Conversation

@Akshat0125
Copy link

🧠 Description

This pull request adds the Bubble Sort algorithm implemented in Solidity.
It includes a simple contract example demonstrating sorting an array of integers.

🔨 Changes Made

  • Added BubbleSort.sol in contracts/algorithms/
  • Wrote comments explaining the logic
  • Added a sample test in test/BubbleSortTest.sol
  • Updated README with algorithm reference

✅ Testing

  • Contract compiled successfully in Remix and Hardhat.
  • Verified the output of the sorted array matches expectations.

@Akshat0125 Akshat0125 requested a review from mkubdev as a code owner October 24, 2025 20:00
@Akshat0125
Copy link
Author

Hi! I’ve added the Bubble Sort algorithm in Solidity for Hacktoberfest.
Please review when you get a chance. Thank you!

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.

1 participant