Amazon, Recently Asked Questions in IIT-H , 11th November, 2022
Amazon · Question · Posted Nov 2022
Question 1 <problem>238</problem> Amazon Web Services is experimenting with optimizing, search queries based on the location of the first unique character in search. You have been asked to help test the query your team has created to ensure it works as designed. A unique character is one which appears only once in a string, Given a string consisting of lowercase English letters only, return the index of the first occurrence of a unique character in the string using 1-based indexing, ...
The full answer & interview discussion are available to premium members.
Log in Create a free account