Original Post
Hey, Given a string only consisting of a's and b's perhaps, which way to determind whether the string contains a equal amount og a's and b's is the fastet? I know that iterating through the whole string counting both entries on the way is a possibility, but it just seems so stupid to me. Anyone's up for a go?