@@ -0,0 +1,695 @@
+/**%0A * @Company Pinterest%0A *%0A * Given a number of columns and an array of pin objects, return an array containing the optimal height of each column.%0A * A pin object is defined as:%0A *%0A * class Pin %7B%0A *   int height;%0A * %7D%0A *%0A * The optimal heights for the column will minimize the height of the largest column.%0A */%0Apublic int%5B%5D columnLayout(int k, Pin%5B%5D pins) %7B %7D%0A%0A%0A/**%0A * Part two will expand on the pin object to be:%0A *%0A * class Pin %7B%0A *   int height;%0A *   int width;%0A * %7D%0A *%0A * You are also given the width of the column, so that any pin that does not equal the column's width%0A * must be resized proportionally to fit the column.%0A */%0Apublic int%5B%5D columnLayout(int k, int width, Pin%5B%5D pins) %7B %7D%0A

Add pinterest problem