Taro Logo

Software Development Engineer I Interview Experience - United States

August 25, 2025
Neutral ExperienceNo Offer

Process

Coderpad round of 75 mins

You are given a sequence of characters, representing a series of steps. You need to find the minimum number of characters required to encode this sequence using a special "repeat from the beginning" instruction, denoted by '*'.

The '' instruction means that the currently encoded prefix should be repeated from its beginning. For example, if you have encoded "AB", then "AB" would expand to "ABAB". If you have encoded "ABC", then "ABC*" would expand to "ABCABC". This repeat instruction can be applied multiple times implicitly (e.g., 'A*' for 'AAA').

Your task is to write a function that takes the un-encoded sequence as input and returns the minimum number of characters required to encode it.

Example:

Consider the sequence "A, B, A, B, C, A, B, A, B, C, D". This can be encoded as "ABCD" which has a length of 4 characters.

We can name the problem MINIMUM ENCODING LENGTH.

Was this helpful?

Interview Statistics

The following metrics were computed from 1 interview experience for the Goldman Sachs Software Development Engineer I role in United States.

Success Rate

0%
Pass Rate

Goldman Sachs's interview process for their Software Development Engineer I roles in the United States is extremely selective, failing the vast majority of engineers.

Experience Rating

Positive0%
Neutral100%
Negative0%

Candidates reported having mixed feelings for Goldman Sachs's Software Development Engineer I interview process in United States.

Goldman Sachs Work Experiences