Box sorting problem and max number sequence problem
Improve max number sequence problem to better performed under non-repeat circumstance