Timeline for Minimum number of Jumps
Current License: CC BY-SA 3.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 5, 2018 at 2:38 | answer | added | Xwtek | timeline score: 0 | |
Jun 11, 2014 at 15:23 | comment | added | Teun Pronk |
What should happen if you go beyond the last spot? Will you move back right away? 1 2 2 3 2. Would it go to the following positions 1 2 4 3 1 or should that print -1?
|
|
Jun 11, 2014 at 15:17 | history | edited | Peter Taylor |
edited tags
|
|
Oct 26, 2013 at 7:28 | answer | added | Cary Swoveland | timeline score: 2 | |
Oct 25, 2013 at 23:03 | answer | added | TwiN | timeline score: 4 | |
Oct 25, 2013 at 21:59 | comment | added | TwiN | Answer to [2] is 0 ? And, what is the answer to [0]? | |
Oct 25, 2013 at 10:21 | answer | added | Thaha kp | timeline score: 2 | |
Oct 25, 2013 at 3:49 | answer | added | flodel | timeline score: 3 | |
Oct 22, 2013 at 21:17 | answer | added | Triadic | timeline score: 3 | |
Oct 22, 2013 at 9:29 | answer | added | alephalpha | timeline score: 4 | |
Oct 22, 2013 at 8:05 | history | edited | Coding man | CC BY-SA 3.0 |
added 116 characters in body
|
Oct 22, 2013 at 7:56 | comment | added | Coding man | @Howard I removed the tag code-challenge | |
Oct 22, 2013 at 7:54 | history | edited | Coding man | CC BY-SA 3.0 |
edited tags
|
Oct 22, 2013 at 7:52 | comment | added | Coding man | @breadbox Yes. I agree, its ambiguous. I will update the question soon. | |
Oct 22, 2013 at 7:33 | comment | added | Howard | What is the winning criterion? As you tagged code-golf as well as code-challenge it is not clear. | |
Oct 22, 2013 at 7:12 | answer | added | Triadic | timeline score: 2 | |
Oct 22, 2013 at 7:09 | history | edited | Coding man | CC BY-SA 3.0 |
added 201 characters in body
|
Oct 22, 2013 at 4:54 | comment | added | breadbox | This description is confusing because "jumps" is used to mean two different things, and with only one actual example, it's difficult to disambiguate which meaning goes with which usage. I'd prefer a description which referred to, say, "jumps" and "moves". With this terminology, you would say that each move consists of some number of jumps. The numbers in the input provide the maximum number of jumps, and the output can be unambiguously described as reporting the minimum number of moves. | |
Oct 22, 2013 at 3:21 | answer | added | DavidC | timeline score: 3 | |
Oct 21, 2013 at 0:31 | history | tweeted | twitter.com/#!/StackCodeGolf/status/392085794045054976 | ||
Oct 20, 2013 at 19:38 | comment | added | Coding man | @Daniel No. Number of jumps will be equal to the value stored at that position. The last position is always a candidate from which one can jump since this position was not used previously for jumping. | |
Oct 20, 2013 at 19:36 | comment | added | Daniel Lubarov |
Thus, it should be clear that one can always jump from the last position. - isn't 1 0 a counterexample?
|
|
Oct 20, 2013 at 15:11 | history | edited | Coding man | CC BY-SA 3.0 |
added 74 characters in body
|
Oct 20, 2013 at 15:05 | history | asked | Coding man | CC BY-SA 3.0 |