https://medium.com/leetsolve/c-solution-to-coding-challenge-1710-maximum-units-on-a-truck-ba34dd7beebd