Testing Engineer Interview Questions

36,183 testing engineer interview questions shared by candidates

Write the algorithm for this: If you have a string aaabbc the output should be a3b2c1, for the string aabcc the output should be a2b1c2 and so on. You should not allocate memory for a new string and you can do this only by reading each character once. Ps: if the result is bigger than the original string (like abc -> a1b1c1) just return null or some message that makes that clear.
Oct 28, 2013

Write the algorithm for this: If you have a string aaabbc the output should be a3b2c1, for the string aabcc the output should be a2b1c2 and so on. You should not allocate memory for a new string and you can do this only by reading each character once. Ps: if the result is bigger than the original string (like abc -> a1b1c1) just return null or some message that makes that clear.

Viewing 171 - 180 interview questions

Glassdoor has 36,183 interview questions and reports from Testing engineer interviews. Prepare for your interview. Get hired. Love your job.