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
2y
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...
Microsoft Corporation SDE Intern interview questions & answers
A SDE Intern was asked 12mo agoQ. Given the root of a binary tree, imagine yourself standing on the right side of ...read more
A SDE Intern was asked Q. How do you change permissions for a particular file?
A SDE Intern was asked Q. Given two singly linked lists that intersect to form a Y shape, find the node at...read more
Popular interview questions of SDE Intern
A SDE Intern was asked 12mo agoQ1. Given the root of a binary tree, imagine yourself standing on the right side of ...read more
A SDE Intern was asked Q2. How do you change permissions for a particular file?
A SDE Intern was asked Q3. Given two singly linked lists that intersect to form a Y shape, find the node at...read more
>
Microsoft Corporation SDE Intern Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

