Asked about resume and some projects what I did. Like Spring framework, Java based, etc. Some behavioral questions and jumped to coderpad
Two questions
-
Return the start index and length of the longest substring having identical characters in a given String.
i/p : S = "aabbbbbccddb"
o/p: [2,5]
explaination : As longest substring is 'bbbbb' of length 5 and start index as 2
i/p: S = "aabbb22rrrrr345571111111"
o/p: [17,7]
explaination : As '1111111' is the longest substring of length 7 and start index =17 -
Given a list of lists of students and scores, return student with highest average
All the best readers...
Comments (4)


