Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My proposal would be to put the image dimensions in the name of the image file. example-400x200.jpg

Without that I cant think of an "easy" to implement formula to keep each column the same length.

If given a group of numbers, how would one divide them into 8 groups the same size?

Extra fun: You may increase each number by n in order to make each group exactly the same size. n must be as small as possible.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: