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.04k stars 409 forks source link

Improvement in CycleSort algorithm #195

Closed hammadsaedi closed 1 year ago

hammadsaedi commented 1 year ago

Fixes #194

sonarcloud[bot] commented 1 year 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 1 year ago

@iluwatar pls review review this PR

iluwatar commented 1 year ago

Looks good! Thank you for the contribution 🎉