There are elements and their height is known. They need to be distributed on 3 columns and seeks to ensure that the height of these columns was the same. That is, arrange n elements in m columns. One element can be only in one column, and in one column there can be any number of elements.
How exactly is the task called and are there any similar implementations in javascript?
Bad option. In the first column there are a lot of elements and in the second and third there are few.
A good option. The elements are evenly distributed in columns and the height is chosen correctly.