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

feat: Add Implementation for SHIT Algorithm #212

Closed SnehangshuChakraborty closed 5 months ago

SnehangshuChakraborty commented 5 months ago

Sorting Heuristic Intelligent Table (SHIT), as discussed here- https://qr.ae/psgqU7, is a sorting algorithm that attempts to organize a given array by sorting elements based on their bucket index. The concept involves dividing the array into buckets according to specific criteria (e.g., tens place of numbers), sorting each bucket individually, and then merging the sorted buckets to form the final sorted array. This method leverages heuristic approaches for more efficient sorting under certain conditions.

sonarcloud[bot] commented 5 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud