Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
on Nov 27, 2011
|
parent
|
context
|
favorite
| on:
Solving Instagram's Unshredder with Mechanical Tur...
[deleted]
mikeknoop
on Nov 27, 2011
[–]
You're right, you'd have to get creative with some of the sorting algorithms, but something like Merge sort would be perfectly suited.
jakobe
on Nov 27, 2011
|
parent
[–]
You can't use merge sort or any other standard sorting algorithm in this case. All these algorithms assume you can compare any two elements. To use a sorting algorithm, you would need to be able to say for any two images which is further left.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: