Problem 115. Distance walked 1D
Solution Stats
Problem Comments
-
11 Comments
Amitava, can you give a clearer idea of what your function inputs and outputs should look like?
If you leave one test the solution is simply 9. As is this submission is very poor.
Needs generalization and a larger test suite.
This is a pretty good idea for a problem but it's *very* poorly stated.
I cleaned up the problem statement and added a few more tests.
good idea...
Very good problem. I had to solve the same one to determine whether a signal was oscillating or stable.
Interesting problem
nice problem
nice...
Great problem!
Solution Comments
Show commentsProblem Recent Solvers2423
Suggested Problems
-
7241 Solvers
-
1568 Solvers
-
291 Solvers
-
Flip the main diagonal of a matrix
767 Solvers
-
How long is the longest prime diagonal?
384 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!