iluwatar / 30-seconds-of-java

Collection of reusable tested Java 17 compatible code snippets that you can understand in 30 seconds or less.
https://java-design-patterns.com/snippets.html
MIT License
1.03k stars 396 forks source link

Improvement in CycleSort algorithm #195

Closed hammadsaedi closed 11 months ago

hammadsaedi commented 11 months ago

Fixes #194

sonarcloud[bot] commented 11 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

hammadsaedi commented 11 months ago

@iluwatar pls review review this PR

iluwatar commented 11 months ago

Looks good! Thank you for the contribution 🎉