Timeline for Determine if all decimal digits are unique
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 26, 2014 at 0:25 | comment | added | mnsr |
you could also do i+"" instead of i.ToString() . But this question is asking for a function, you just gave 2 lines of code
|
|
May 22, 2014 at 7:13 | comment | added | hvd |
I think that not including the required using System.Linq; in your character count is cheating a bit. @helix That's Enumerable.Distinct , not String.Distinct . MSDN is a bit confusing by showing extension methods too. But indeed, ToCharArray() is not necessary.
|
|
May 22, 2014 at 1:37 | comment | added | Helix Quar | ".ToCharArray()" is unnecessary since there's String.Distinct. | |
S May 21, 2014 at 21:02 | review | Low quality posts | |||
May 21, 2014 at 21:16 | |||||
S May 21, 2014 at 21:02 | review | First posts | |||
May 21, 2014 at 21:16 | |||||
May 21, 2014 at 20:46 | history | answered | Paul Richards | CC BY-SA 3.0 |