Have a look through the whole Github. It's kind of a mess right now because I was trying to run all my solutions in a loop. But each day has its own cs file.
Another solution could be
var opens = input.Count(x => x == '(' );
var closes = input.Count(x => x ==')' );
return opens - closes;
View all comments
Show parent comment
1
u/tucker87 Dec 12 '15
Have a look through the whole Github. It's kind of a mess right now because I was trying to run all my solutions in a loop. But each day has its own cs file.
Another solution could be