Given a string of containing lower case letters and upper case characters. Find the number of occurrences of each character. The question was further modified to include the special characters as well. I was asked to design the test cases for the same
AnswerBot
1y
Count the occurrences of each character in a given string including special characters.
Create test cases for empty string
Test for string with only one character
Test for string with all characters bein...read more
Sagar Kumar
1y
If the ASCII value lies in the range of [65, 90], then it is an uppercase letter. If the ASCII value lies in the range of [97, 122], then it is a lowercase letter.
Help your peers!
Add answer anonymously...
Top Microsoft Corporation SDE Intern interview questions & answers
Popular interview questions of SDE Intern
Top HR questions asked in Microsoft Corporation SDE Intern
>
Microsoft Corporation SDE Intern Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app