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:

Solutions:
Practice1:

Practice2:

Practice3:

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:
Solutions:
Practice1:
Practice2:
Practice3:
本文标题:Exes and Ohs----校验字符串中XO数量一致性
本文链接:https://www.haomeiwen.com/subject/vomwbqtx.html
网友评论