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

feat: Add Implementation for SHIT Algorithm #212

Closed SnehangshuChakraborty closed 3 months ago

SnehangshuChakraborty commented 3 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 3 months ago

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarCloud