Problem 42708. Placing Beads Neatly in a Box
Solution Stats
Problem Comments
-
5 Comments
You also gave me a new test for "Is it Snaky (42705)" that knocked out the current leader.
Can you clarify: does the partial sequence 1-1-0-1 force a failure? Your diagram doesn't seem to allow diagonal paths, so it seems that a single 0 or 1 causes failure.
Hi Carl: All sequences are generated from successful packings. So you wouldn't get 1-1-0-1 because, as you note, it couldn't be packed successfully. In other words, this situation shouldn't come up.
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
Select every other element of a vector
34027 Solvers
-
Removing rows from a matrix is easy - but what about inserting rows?
231 Solvers
-
Check if number exists in vector
12360 Solvers
-
Create a Multiplication table matrix...
581 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
232 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!