Screening Failed !! Had easier questions than mock interviews ( which had questions from leetcode ) but screening questions were not from the leetcode and so it appears to be predetermined decisions to reject
1> Given a string, find all the occurance of maximum length substring with repeating character and list in the order it appears.
Example : aaabbaaaccc , output => ['a','a','c'].
Gave O(n) time + O(n) space ( coz strings like "abcabcbacaba" will all be listed as each character of max length 1, which interviewer seems to not see the case and I think is likely the reason I was given negative ).
2> Given a ordered array of integer and a target value, find the number of times the target appeared in an array. Pretty simple Binary Search, O(log n) time and O(1) space.
Both the codes were very clean, commented with test case !! May be interviews have higher bar these days as I have cleared Facebook screening with much worst performance in past. Little disspointed.


