3120. Count the Number of Special Characters I
You are given a string
word
. A letter is called special if it appears both in lowercase and uppercase inword
.Return the number of special letters in
word
.
1 | class Solution { |
3120. Count the Number of Special Characters I
You are given a string
word
. A letter is called special if it appears both in lowercase and uppercase inword
.Return the number of special letters in
word
.
1 | class Solution { |