Skip to main content

Timeline for Is this a Permutation of 1..n

Current License: CC BY-SA 4.0

87 events
when toggle format what by license comment
Mar 18 at 20:24 answer added Rosario timeline score: 0
Mar 18 at 16:39 answer added l4m2 timeline score: 1
Mar 18 at 14:21 answer added Adamátor timeline score: 0
Mar 5, 2024 at 1:39 answer added DLosc timeline score: 6
Mar 3, 2024 at 14:50 answer added movatica timeline score: 1
Jul 23, 2023 at 21:08 answer added macOSisthebestOS timeline score: 2
Jul 22, 2023 at 0:34 answer added c-- timeline score: 1
May 18, 2023 at 18:20 answer added Kamila Szewczyk timeline score: 1
May 15, 2023 at 15:35 answer added Utility Bot timeline score: 1
May 13, 2023 at 14:20 answer added Kai Burghardt timeline score: 1
May 13, 2023 at 12:55 answer added The Empty String Photographer timeline score: 4
May 12, 2023 at 10:50 answer added alephalpha timeline score: 2
May 2, 2023 at 12:39 answer added The Thonnu timeline score: 2
May 2, 2023 at 0:24 answer added bluswimmer timeline score: 1
May 1, 2023 at 23:19 answer added c-- timeline score: 1
May 1, 2023 at 21:45 answer added Tristan F.-R. timeline score: 4
May 1, 2023 at 18:36 answer added emirps timeline score: 2
May 1, 2023 at 15:35 answer added Alan Bagel timeline score: 1
Apr 16, 2023 at 12:31 answer added 138 Aspen timeline score: 1
Apr 3, 2023 at 23:51 answer added emirps timeline score: 1
Mar 28, 2023 at 13:34 answer added lyxal timeline score: 1
Mar 25, 2023 at 7:10 answer added The Thonnu timeline score: 1
Mar 25, 2023 at 0:38 answer added Yousername timeline score: 1
Mar 24, 2023 at 22:17 answer added Deadcode timeline score: 2
Jan 17, 2023 at 1:51 answer added Kip the Malamute timeline score: 2
Jan 16, 2023 at 23:38 answer added Dominic van Essen timeline score: 3
Jan 16, 2023 at 22:48 answer added chunes timeline score: 0
Feb 18, 2022 at 11:07 answer added David Scholz timeline score: 1
Feb 18, 2022 at 0:18 answer added Dominic van Essen timeline score: 2
Dec 10, 2021 at 14:22 answer added Razetime timeline score: 1
Oct 3, 2021 at 0:20 answer added Sara J timeline score: 3
Oct 2, 2021 at 22:18 answer added Adalynn timeline score: 0
Jun 29, 2021 at 4:05 answer added tsh timeline score: 1
Jun 28, 2021 at 21:05 answer added Makonede timeline score: 2
Jun 28, 2021 at 17:00 answer added Soup Girl timeline score: 1
Jun 27, 2021 at 9:32 answer added Joe Slater timeline score: 1
Jun 27, 2021 at 2:20 comment added L. F. @OlivierGrégoire The consensus on Code Golf, at least, seems to be that positive means \$> 0\$.
Jun 25, 2021 at 20:51 answer added att timeline score: 1
Jun 25, 2021 at 15:00 history tweeted twitter.com/StackCodeGolf/status/1408439866908610571
S Jun 25, 2021 at 12:23 history suggested CGCampbell CC BY-SA 4.0
minor spelling and grammar
Jun 25, 2021 at 12:23 answer added Multi timeline score: 3
Jun 25, 2021 at 12:14 review Suggested edits
S Jun 25, 2021 at 12:23
Jun 25, 2021 at 11:04 answer added DS-Charlie timeline score: 6
Jun 25, 2021 at 7:14 history edited tsh CC BY-SA 4.0
added 196 characters in body
Jun 25, 2021 at 6:44 comment added Olivier Grégoire @tsh Well, using only "positive" is always kind of ambiguous, so I prefer to be on the safe side, but thanks for clarifying. Especially since you use "non-negative" later on in the challenge.
Jun 25, 2021 at 6:38 comment added tsh @OlivierGrégoire Positive means n>0. Non-negative means n>=0.
Jun 25, 2021 at 6:29 comment added Olivier Grégoire Can we assume the array contains only strictly positive numbers for 1-indexed (instead of just positive numbers)?
Jun 25, 2021 at 5:56 answer added Olivier Grégoire timeline score: 4
Jun 25, 2021 at 1:10 answer added Glen O timeline score: 10
Jun 25, 2021 at 0:50 comment added DLosc @Shaggy Truthy/falsey output is allowed, so as long as your language treats 0 as falsey and other integers as truthy--or vice versa!--then yes.
Jun 24, 2021 at 22:56 answer added Hunaphu timeline score: 7
Jun 24, 2021 at 19:51 answer added AZTECCO timeline score: 1
Jun 24, 2021 at 18:16 answer added Sean timeline score: 2
Jun 24, 2021 at 16:15 answer added Aiden Chow timeline score: 1
Jun 24, 2021 at 15:50 answer added Noodle9 timeline score: 2
Jun 24, 2021 at 14:27 history became hot network question
Jun 24, 2021 at 14:26 answer added Mr. Xcoder timeline score: 5
Jun 24, 2021 at 14:03 comment added Shaggy Would outputting 0 for one result or any other integer for the other be acceptable?
Jun 24, 2021 at 12:54 answer added Wheat Wizard timeline score: 12
Jun 24, 2021 at 10:43 answer added Arnauld timeline score: 11
Jun 24, 2021 at 9:37 answer added Kjetil S timeline score: 4
Jun 24, 2021 at 9:23 answer added Unrelated String timeline score: 5
Jun 24, 2021 at 9:13 comment added Bubbler @AviFS If your language doesn't support decimal number I/O, you can use character value I/O. If it doesn't support that either, you can take it in binary or unary. Computational class is not a problem; taking lots of time or memory is allowed by default (even if it can't be run to completion realistically on any machine). You're even allowed to handwave the inputs exceeding the limit of the built-in integer representation. So I don't see any extra benefit of restricting the input size to <10.
Jun 24, 2021 at 9:13 answer added cnamejj timeline score: 2
Jun 24, 2021 at 9:04 answer added Neil timeline score: 1
Jun 24, 2021 at 8:44 answer added Adamátor timeline score: 16
Jun 24, 2021 at 8:40 answer added Shaggy timeline score: 2
Jun 24, 2021 at 8:20 comment added AviFS How do you feel about restricting to n<10? It would make the elements to check finite and all single digit. And that would allow lots of wacky tarpits to solve it and not require as high a computational class! I think the spirit would still be preserved, and I can’t think of any way it could be used to hardcode or “cheat” that wouldn’t just be longer than doing it “right,” for the languages that can do it.
Jun 24, 2021 at 8:17 answer added chunes timeline score: 7
Jun 24, 2021 at 8:06 answer added user100752 timeline score: 7
Jun 24, 2021 at 8:04 history edited tsh CC BY-SA 4.0
added 11 characters in body
Jun 24, 2021 at 7:55 answer added Robin Ryder timeline score: 9
Jun 24, 2021 at 7:48 answer added digEmAll timeline score: 5
Jun 24, 2021 at 7:47 answer added Neil timeline score: 2
Jun 24, 2021 at 7:37 answer added dingledooper timeline score: 12
Jun 24, 2021 at 7:20 answer added theorist timeline score: 3
Jun 24, 2021 at 7:19 answer added emanresu A timeline score: 2
Jun 24, 2021 at 7:10 answer added LiefdeWen timeline score: 1
Jun 24, 2021 at 7:06 answer added emanresu A timeline score: 1
Jun 24, 2021 at 6:54 answer added Razetime timeline score: 4
Jun 24, 2021 at 6:50 answer added Bubbler timeline score: 15
Jun 24, 2021 at 6:48 comment added tsh @Razetime IMO, empty list should be truthy. But anyway, empty list is excluded from testcases, and it is undefined behavior to your program.
Jun 24, 2021 at 6:48 answer added pxeger timeline score: 10
Jun 24, 2021 at 6:45 comment added Razetime is empty list falsy?
Jun 24, 2021 at 6:38 answer added hyperneutrino timeline score: 13
Jun 24, 2021 at 6:29 answer added hyperneutrino timeline score: 5
Jun 24, 2021 at 6:27 history asked tsh CC BY-SA 4.0