Build a responsive grid of fixed boxes | Amazon Interview Question