re: Daily Challenge #29 - Xs and Os VIEW POST

FULL DISCUSSION
 

Scala

def xo(s: String): Boolean = {
  s.count(_ == 'x') == s.count(_ == 'o')
}
code of conduct - report abuse