3 ms·
sorry, i don't get how characters repeating affects things
by exit 16y ago
sorry, i don't get how characters repeating affects things
- tedunangst 16y agoIf there are 3 As in the first string and 4 in the second, it fails. A boolean value can't count to 3.
- jamesaguilar 16y agoMaybe in a different problem it would fail, but this is merely a presence test, so booleans are fine. At any rate, an array of int32s instead of bools would defeat the objection for reasonably long strings.
- tedunangst 16y agoThis is that different problem. The author's description is muddy, but you do need the counts.