Decision Workspace
sorted-rotated vs hidden-median vs stacked-sandwich
Side-by-side comparison of Rust crates
40
sorted-rotated
growingv0.1.1
Finds a number in a sorted and rotated list in O(logN) time.
46
hidden-median
growingv0.1.3
Finds the median of two lists, when merged without breaking sorted state.
46
stacked-sandwich
growingv1.4.0
Find all occurances of a number in a row/column sorted matrix; in square root of linear time!
Core Metrics
| sorted-rotated | hidden-median | stacked-sandwich | |
|---|---|---|---|
| Health Score | 40 | 46 | 46 |
| Total Downloads | 2.8K | 5.3K | 4.9K |
| 30d Downloads | 4 | 7 | 3 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 4 | 4 |
| Last Updated | 1701d ago | 1679d ago | 1604d ago |
| Age | 4y 8m | 4y 7m | 4y 4m |
Health Breakdown
sorted-rotated
Maintenance
3
Quality
16
Community
5
Popularity
4
Documentation
12
hidden-median
Maintenance
9
Quality
16
Community
5
Popularity
4
Documentation
12
stacked-sandwich
Maintenance
9
Quality
15
Community
5
Popularity
4
Documentation
13
Technical Details
| sorted-rotated | hidden-median | stacked-sandwich | |
|---|---|---|---|
| Version | 0.1.1 | 0.1.3 | 1.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 3KB | 3KB | 3KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 75.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 2 | 2 | 2 |
Links
Quick Verdict
- •hidden-median leads with a health score of 46/100, but none of the options score above 80.
- •⚠ sorted-rotated, hidden-median, stacked-sandwich have not been updated in over a year.
- •sorted-rotated, hidden-median are pre-1.0 — API may change.