7 kyu
Exes and Ohs
92,238 of 264,742joh_pot
Description:
Check to see if a string has the same amount of 'x's and 'o's. The method must return a boolean and be case insensitive. The string can contain any char.
Examples input/output:
XO("ooxx") => true
XO("xooxx") => false
XO("ooxXm") => true
XO("zpzpzpp") => true // when no 'x' and 'o' is present should return true
XO("zzoo") => false
Fundamentals
Similar Kata:
Stats:
Created | Jun 29, 2015 |
Published | Jun 29, 2015 |
Warriors Trained | 386854 |
Total Skips | 32114 |
Total Code Submissions | 783908 |
Total Times Completed | 264742 |
JavaScript Completions | 92238 |
Python Completions | 94059 |
Haskell Completions | 1975 |
CoffeeScript Completions | 181 |
Ruby Completions | 8089 |
C# Completions | 15517 |
Java Completions | 26652 |
C Completions | 5801 |
Rust Completions | 3317 |
R Completions | 411 |
TypeScript Completions | 4468 |
Scala Completions | 861 |
NASM Completions | 65 |
PHP Completions | 4507 |
C++ Completions | 10517 |
Julia Completions | 127 |
Dart Completions | 1475 |
COBOL Completions | 26 |
Factor Completions | 15 |
OCaml Completions | 78 |
Lua Completions | 60 |
Total Stars | 2004 |
% of votes with a positive feedback rating | 89% of 20480 |
Total "Very Satisfied" Votes | 16459 |
Total "Somewhat Satisfied" Votes | 3694 |
Total "Not Satisfied" Votes | 327 |