A string is given which contains characters from the following set: ["|","*"]. Example, string can be of type "|**|*|". Also, two arrays are given. First array contains value of starting indexes, and second array contains value of ending indexes. For each corresponding pair of starting index array value and ending index array value you need to find maximum stars present in string between two bars that lies between starting index and ending index. Example: for string "|**|*|" and we have start index array[1,1] and end index array[5,6]. for pair (1,5) we have string "|**|*" so maximum stars between bar is 2. for pair (1,6) we have string "|**|*|" so maximum stars between bar is 3. So answer is [2,3].
Software Trainee Interview Questions
9,112 software trainee interview questions shared by candidates
oops concept
what is macros?
Oops concept
Why would you join this company?
Tell me about yourself
write code for determining a string is palindrome.
Basically from loop , oops and basics of any one language
Completely on projects I have done in my engineering tenure And on Java Concepts and Sql
find the angle between hour hand and minute hand.
Viewing 2221 - 2230 interview questions
See Interview Questions for Similar Jobs
Java J2ee Software DeveloperSoftware Engineer TraineeRuby DeveloperJava J2ee Software EngineerSoftware Engineer RubySdeNew Grad SoftwareRails DeveloperSoftware Developer Entry LevelJunior Software EngineerSoftware Engineer C#Ruby On Rails Software EngineerJava Software EngineeringSoftware Developer FresherRuby On Rails DeveloperSoftware Engineering GraduateEntry SoftwareSoftware Enginner