Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for split and capitalize

Current License: CC BY-SA 4.0

64 events
when toggle format what by license comment
Oct 8, 2024 at 2:00 answer added noodle person timeline score: 0
Oct 7, 2024 at 11:53 answer added Jitse timeline score: 1
Apr 21, 2021 at 8:19 answer added avarice timeline score: 1
Apr 21, 2021 at 8:08 answer added avarice timeline score: 1
Sep 11, 2020 at 22:39 answer added att timeline score: 1
Sep 11, 2020 at 17:25 answer added TehPers timeline score: 0
Sep 11, 2020 at 8:18 answer added Skillmon timeline score: 1
Sep 11, 2020 at 7:41 answer added Cong Chen timeline score: 1
Sep 11, 2020 at 5:49 answer added Razetime timeline score: 0
Jun 6, 2018 at 9:39 answer added Davin Miler timeline score: 0
May 14, 2018 at 17:25 answer added Kirill L. timeline score: 0
May 14, 2018 at 15:36 answer added Multi timeline score: 0
May 14, 2018 at 8:15 comment added JAD Can we have a test-case with separator ., I can imagine some string splitting functions struggling with that one.
May 14, 2018 at 7:31 answer added Kevin Cruijssen timeline score: 0
May 13, 2018 at 21:45 answer added manassehkatz-Moving 2 Codidact timeline score: 1
May 13, 2018 at 19:16 history edited Muhammad Salman CC BY-SA 4.0
added 1 character in body
May 13, 2018 at 19:15 history rollback Muhammad Salman
Rollback to Revision 11
May 13, 2018 at 19:14 history rollback Muhammad Salman
Rollback to Revision 10
May 13, 2018 at 19:10 answer added user80007 timeline score: 0
May 13, 2018 at 19:06 history edited Shaggy CC BY-SA 4.0
deleted 292 characters in body
May 13, 2018 at 16:51 comment added Muhammad Salman @Dennis : I updated the description just for you :)
May 13, 2018 at 16:50 history edited Muhammad Salman CC BY-SA 4.0
added 228 characters in body
May 13, 2018 at 16:48 comment added Muhammad Salman @Dennis : Okat done.
May 13, 2018 at 16:47 comment added Dennis I think so, yes.
May 13, 2018 at 16:30 comment added Muhammad Salman @Dennis : So I should change this ?
May 13, 2018 at 16:29 comment added Dennis Yes, I've seen the Scala answer. If an answer surprises you by not requiring one of the inputs, just let it be, don't add extra rules to the challenge to invalidate the answer. (That's my opinion, not a rule.) Improving your challenge by removing a superfluous restriction shouldn't earn you any downvotes. I'm sure the affected answerers would be happy to save a few bytes.
May 13, 2018 at 16:24 comment added Muhammad Salman @Dennis : I didn't add that and didn't intend to. See the Scala answer for clarification on that. (If you think it is not required I could removed it) but i'm guessing that's gonna get me more down-votes
May 13, 2018 at 16:22 comment added Dennis I looked it up: Stewie didn't suggest any test cases, but he asked whether the first or last character could be a separator and whether there could be consecutive separators. In the future, please consider using the sandbox to get all these details sorted out before going live. It's frustrating to get your answer invalidated because of changes in the specification. The most surprising of all is the restriction to take the character as input, even if the program doesn't need it. That makes no sense at all.
May 13, 2018 at 16:17 comment added Muhammad Salman @Dennis : I'm pretty sure it was you , if not then StewieGriffin ? I don't know, you removed all comments
May 13, 2018 at 16:10 comment added Dennis Not that it matters, but I didn't suggest any test cases.
May 13, 2018 at 15:58 comment added Muhammad Salman @Shaggy : I can't stop you from down-voting so :( . Also The test case was suggested by Dennis and frankly I don't see a problem with where it is. You are supposed to read the test case. Tell me if there is a problem and then it can be changed.
May 13, 2018 at 15:55 comment added Shaggy I've downvoted this due to the multiple changes to the spec. On a sidenote, you need to make mention a lot sooner than the last test case that the string may contain 2 or more consecutive "separators" and that we are not guaranteed that a letter will always follow a "separator".
May 13, 2018 at 15:49 comment added Muhammad Salman @l4m2 : If it helps you Yes otherwise general rule so far is that the test case will have at least one alphabet
May 13, 2018 at 15:33 answer added ბიმო timeline score: 0
May 13, 2018 at 15:31 comment added l4m2 Can it be 123 | 2 => 13?
May 13, 2018 at 14:46 history edited Adám CC BY-SA 4.0
format examples
May 13, 2018 at 14:36 answer added Emigna timeline score: 1
May 13, 2018 at 13:15 answer added ollien timeline score: 0
May 13, 2018 at 13:11 comment added ollien You're missing a delimiter in the last test case - there should be a ! there. I would edit it myself, but there's not enough characters for me to do it.
May 13, 2018 at 9:17 answer added Matias Bjarland timeline score: 0
May 13, 2018 at 1:31 history tweeted twitter.com/StackCodeGolf/status/995476571875143680
May 13, 2018 at 1:22 answer added JayCe timeline score: 0
May 12, 2018 at 19:07 answer added Galen Ivanov timeline score: 1
May 12, 2018 at 18:31 answer added Dennis timeline score: 9
May 12, 2018 at 17:56 answer added Neil timeline score: 3
May 12, 2018 at 17:29 answer added fergusq timeline score: 2
May 12, 2018 at 16:49 history edited Muhammad Salman CC BY-SA 4.0
deleted 49 characters in body
May 12, 2018 at 16:44 answer added user41805 timeline score: 3
May 12, 2018 at 16:42 history edited Muhammad Salman CC BY-SA 4.0
deleted 28 characters in body
May 12, 2018 at 16:28 history edited Muhammad Salman CC BY-SA 4.0
added 84 characters in body
May 12, 2018 at 16:11 comment added Stewie Griffin Tips when creating test cases: Make each one cover at least one corner case. All your test cases are basically identical (maybe except the one with 1). Try to think about how solutions might fail, and make a test case for such situations. Some examples: Letters as separators, the separator being the last character, consecutive separators and so on. There's no need to have many test cases that doesn't test different things.
May 12, 2018 at 16:10 history edited Muhammad Salman CC BY-SA 4.0
added 129 characters in body
May 12, 2018 at 16:03 answer added Stewie Griffin timeline score: 3
May 12, 2018 at 15:40 answer added Dennis timeline score: 3
May 12, 2018 at 15:39 history edited Muhammad Salman CC BY-SA 4.0
added 105 characters in body
May 12, 2018 at 15:38 answer added nwellnhof timeline score: 3
May 12, 2018 at 15:35 answer added ngn timeline score: 3
May 12, 2018 at 15:20 answer added Digital Trauma timeline score: 3
May 12, 2018 at 15:00 answer added betseg timeline score: 6
May 12, 2018 at 14:51 answer added Xavier Guihot timeline score: 2
May 12, 2018 at 14:30 history edited Muhammad Salman CC BY-SA 4.0
added 55 characters in body
May 12, 2018 at 14:26 history edited Muhammad Salman CC BY-SA 4.0
added 90 characters in body
May 12, 2018 at 14:24 answer added Arnauld timeline score: 5
May 12, 2018 at 14:15 history asked Muhammad Salman CC BY-SA 4.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /