infosys sp role
Summary
I recently interviewed for the sp role at infosys, where I was presented with a variety of data structure and algorithm questions, including a specific problem on removing adjacent duplicates.
Full Experience
I had my interview for the sp role at infosys. The session was primarily focused on coding, covering multiple data structures and algorithms. I recall being asked questions related to arrays, stacks, dynamic programming, and binary trees. One of the array-based questions specifically involved logic to remove adjacent duplicates from a sequence.
Interview Questions (1)
The problem involved processing a sequence (likely a string or an array) and removing any adjacent duplicate elements. For example, if the input was 'azxxzy', after removing 'xx', it would become 'azzy'. Subsequently, removing 'zz' would yield 'ay'.