Coding question to find the first occurring letter in a string
AnswerBot
5mo
Find the first occurring letter in a string
Iterate through the string and store the count of each letter in a hashmap
Return the first letter with count 1
Help your peers!
Add answer anonymously...
Popular interview questions of Software Developer
>
Omniscient Software Software Developer 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