#3120

Count the Number of Special Characters I

pupil · 320 · lc easy +21 · 66.7% accepted · 172 likes · top 72%

Description

Given a string word, a letter is special if it occurs in both its lowercase and uppercase forms anywhere in word. Return the count of special letters.

Code

1
2
3