Problem 45415. Find an optimal placement of coolers on a grid
Solution Stats
Problem Comments
-
2 Comments
nice problem (hint: viterbi) and overall an excellent series / problem-group!
I wish I had done a clever solution but I resorted to brute forcing it!
Solution Comments
-
1 Comment
This should theoretically work, which means I am making a mistake somewhere
-
1 Comment
It's big brain time
-
4 Comments
This passed because the grid is small. I knew I should have changed the problem to a 20 x 20 or 100 x 100 grid haha. Anyway, I'll make a harder version of this problem in the next series. :)
And i ll prove to you then it will still work :)
Yeah probably so. I don't even know if Cody has a memory limit or time limit so one can create test cases that can really filter unwanted solutions. oh well.
now one test fail??
Problem Recent Solvers33
Suggested Problems
-
Vectorize the digits of an Integer
285 Solvers
-
Generate N equally spaced intervals between -L and L
706 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
439 Solvers
-
Natural numbers in string form
746 Solvers
-
4382 Solvers
More from this Author19
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!