Timeline for Palindrome Permutation string
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 25, 2022 at 21:07 | comment | added | panik | I have never seen any significant performance improvements caused by using iterators rather than indexing for arrays. I see it as a matter of preference. Also related answer, stackoverflow.com/a/2524322. | |
Aug 22, 2022 at 19:55 | comment | added | Toby Speight | Oh yes, you're absolutely correct there. | |
Aug 22, 2022 at 17:53 | comment | added | pacmaninbw♦ | @TobySpeight It is quite possible I misunderstood the problem statement. I still feel that the OP needs to learn about iterators, and other standard library features. | |
Aug 22, 2022 at 16:52 | comment | added | Toby Speight | I think you misunderstood the problem statement @pacmaninbw - the requirement is that the letters can be arranged into a palindrome, i.e. at most one odd value in the histogram. | |
Aug 22, 2022 at 16:26 | comment | added | April Morrison | "caacbb" this won't pass your code ! but it still it is Palindrome Permutation string | |
Aug 22, 2022 at 15:43 | history | answered | pacmaninbw♦ | CC BY-SA 4.0 |