Timeline for Is it a tower permutation?
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 23, 2022 at 17:41 | comment | added | David Conrad | @OlivierGrégoire It was just a joke, hence the smiley face. ;^) | |
| Feb 23, 2022 at 15:26 | comment | added | Olivier Grégoire | @DavidConrad the code can work for signed 64 bits as well without any adaptation. | |
| Feb 23, 2022 at 1:58 | comment | added | David Conrad | It would, however, not work with n greater than 2^31 - 1. ;^) | |
| Feb 22, 2022 at 8:04 | comment | added | Olivier Grégoire | @bazzilic I added a few test cases to show that it works with n > 9. | |
| Feb 22, 2022 at 8:03 | history | edited | Olivier Grégoire | CC BY-SA 4.0 | Used split on space rather than at every char for the tests to show that it's an array of integer and not an array of digits. |
| Feb 22, 2022 at 7:20 | comment | added | bazzilic | Ah, ok, my bad. I thought it was a string array with digits. | |
| Feb 22, 2022 at 7:16 | comment | added | Olivier Grégoire | @bazzilic Why? It's an integer array, not a digit array. | |
| Feb 22, 2022 at 7:01 | comment | added | bazzilic | This wouldn't work with n>9, would it? | |
| Feb 21, 2022 at 23:44 | history | edited | Olivier Grégoire | CC BY-SA 4.0 | edited body |
| Feb 21, 2022 at 22:35 | history | answered | Olivier Grégoire | CC BY-SA 4.0 |