Asked me 2 DSA questions, first question was very easy, it was a vector - hashmap question, 2nd question was a little tricky, it was a subarray type question
Write a function solution that, given a string S consisting of N characters, returns the maximum number of letters 'a' that can be inserted into S (including at the front and end of S) so that the resulting string doesn't contain three consecutive letters. If string S already contains the substring "aaa", then your function should return -1.
The following metrics were computed from 1 interview experience for the OpenText Software Development Engineer role in Phagwāra, India.
OpenText's interview process for their Software Development Engineer roles in Phagwāra, India is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for OpenText's Software Development Engineer interview process in Phagwāra, India.