Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 25222
Total Votes: 236 votes
Average Rating: 3.45 out of 5
Category: JAVA/Core JAVA
Description:In written exams or in technical interview of Amazon , you can easily find this question . So in order to help you for the preparation of interview , we are answering this question in this post .
First we need to understand the question , we need to write an algorithm for the first non repeated character in a string , for example
Read Also : Count number of words in the String
If the word "stress" is input then it should print 't' as output .
If the word "teeter" is input then it should print 'r' as output .