Cody

Problem 2403. Best Square-Shaped Grid for Subplot

If you have x number of plots, find the optimum 'm' number of rows and 'n' number of columns for subplotting where the overall figure looks square-shaped. (m*n >= x)

Example:

 x = 7  --> m = 3, n = 3

Solution Stats

62.75% Correct | 37.25% Incorrect
Last Solution submitted on May 08, 2020

Problem Comments

Solution Comments