Timeline for answer to Sandbox for Proposed Challenges by Alan Bagel
Current License: CC BY-SA 4.0
Post Revisions
32 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 2, 2023 at 21:04 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 22 characters in body
|
| Apr 28, 2023 at 15:48 | history | edited | Alan Bagel | CC BY-SA 4.0 |
oops; added 334 characters in body
|
| Apr 28, 2023 at 12:07 | comment | added | Alan Bagel | @Jacob ok fixed | |
| Apr 28, 2023 at 12:06 | history | edited | Alan Bagel | CC BY-SA 4.0 |
more wording changes
|
| Apr 28, 2023 at 2:32 | comment | added | Jacob | I would recommend rephrasing "substring" to "contiguous sublist" as suggested by @DLosc -- to me, substring definitely has the connotation of being a slice of a string (list of characters; I want to make sure we're on the same page). Even just "sublist" would be okay, just clarify somewhere that you're talking about the contiguous kind. | |
| Apr 28, 2023 at 1:41 | history | edited | Alan Bagel | CC BY-SA 4.0 |
deleted 92 characters in body
|
| Apr 27, 2023 at 20:45 | comment | added | mousetail | Seems by your definition a list with a length of 1 would be alternating | |
| Apr 27, 2023 at 20:09 | history | edited | Alan Bagel | CC BY-SA 4.0 |
some wording changes
|
| Jan 13, 2023 at 22:56 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 80 characters in body
|
| Jan 11, 2023 at 19:34 | comment | added | Alan Bagel | @l4m2 please clarify | |
| Jan 11, 2023 at 18:59 | comment | added | l4m2 | Can't understand, seem be inconsistancy | |
| Jan 11, 2023 at 18:41 | comment | added | DLosc | For starters, since we're talking about lists rather than integers, I'd say "long" rather than "high." | |
| Jan 11, 2023 at 18:37 | comment | added | Alan Bagel | "Your program should be able to handle input as high as your language supports" seems a bit ambiguous. | |
| Jan 11, 2023 at 18:31 | comment | added | Alan Bagel | @DLosc I've added more test cases, though I'm not quite sure what the best way to express "as high as your language supports." | |
| Jan 11, 2023 at 18:30 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 38 characters in body
|
| Jan 11, 2023 at 18:21 | comment | added | DLosc | There should be at least two test cases of length 3, one alternating and one non-alternating. I'd suggest adding one very long test case, too. Is there a maximum length solutions need to handle? | |
| Jan 11, 2023 at 18:18 | comment | added | Alan Bagel | @DLosc fixed x3 | |
| Jan 11, 2023 at 18:18 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 35 characters in body
|
| Jan 11, 2023 at 18:15 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 86 characters in body
|
| Jan 11, 2023 at 18:09 | comment | added | Alan Bagel | @DLosc Added step-by-step example. | |
| Jan 11, 2023 at 18:09 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 136 characters in body
|
| Jan 11, 2023 at 17:54 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 161 characters in body
|
| Oct 12, 2022 at 14:28 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 48 characters in body
|
| Oct 12, 2022 at 14:22 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 249 characters in body
|
| Oct 11, 2022 at 18:19 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 39 characters in body
|
| Oct 10, 2022 at 21:09 | comment | added | DLosc | Better, yes. I made a small change to the sentence order that I think makes it even clearer. I do think a step-by-step worked example before the test cases would be helpful--especially since I just realized that both the original wording and the edited wording said the substrings must have length strictly greater than 2, but I managed to misunderstand that as greater than or equal to 2. | |
| Oct 10, 2022 at 21:06 | history | edited | DLosc | CC BY-SA 4.0 |
Tweaked wording for clarity
|
| Oct 10, 2022 at 20:41 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 69 characters in body
|
| Oct 10, 2022 at 20:15 | comment | added | Alan Bagel | @DLosc fixed. better? | |
| Oct 10, 2022 at 20:15 | history | edited | Alan Bagel | CC BY-SA 4.0 |
added 52 characters in body
|
| Oct 10, 2022 at 19:36 | comment | added | DLosc |
The description is unclear to me. 1) Does "substrings" mean "contiguous sublists"? 2) "Find substrings" indicates to me that we should return substrings, but the test case returns an integer. 3) There are more than two contiguous sublists of [2,3,4,5] that alternate between odd and even: [2,3], [3,4], [4,5], [2,3,4], [3,4,5], [2,3,4,5]. Do you mean "find the maximum number of non-overlapping contiguous sublists"?
|
|
| Oct 10, 2022 at 18:02 | history | answered | Alan Bagel | CC BY-SA 4.0 |