Coding interview for the Sr Software Engineer position at GEICO
Location: US
- Recruiter screen: as usual
- Manager round: Discussed past experience from resume, discussion on technologies used in past and questions from them
- Coding Round 1:
https://leetcode.com/discuss/post/1454542/number-of-water-tanks-needed-by-anonymou-3go4/
- Coding Round 2:
For a given number n, write a function that contains a string containing only "a"s given n number of times.
Any "aa" will be transformed to "b" and any "bb" will be transformed to "c".
For example, String "aaaaaa" -> "bbb" -> "cb". "zz" cannot be transformed to anything.
For any given number, generate the transformed string.