GoDaddy SSE Interview Experience (Gurgaon Location)
YOE: 5.8 (excluding internship)
College: Tier-3
Current Company: Product Based Company
Applied through GoDaddy Portal (Got a interview call next day)
Round 1 - DS/Algo:
Q. You are given a string containing lowercase letters and dot (.) characters. Each dot should be replaced by a lowercase letter in such a way that the total score of beautiful substrings is maximized.
Definitions:
A beautiful substring is defined as a substring consisting of the same character repeated one or more times.
The score of a beautiful substring of length L is calculated as:
score = L * (L + 1) / 2
(i.e., sum of first L natural numbers)
Example:
Input: "p.r."
Best possible conversion: "prrr"
Beautiful substrings:
"p" → score = 1
"rrr" → score = 3 * (3 + 1) / 2 = 6
Total Score = 1 + 6 = 7
Output: 7
I wasn’t able to come up with the optimized solution during the interview. I initially proposed a brute-force recursive approach, but the interviewer was looking for something more efficient. In the last 10 minutes, he asked me to implement the brute-force version, which I could only partially complete due to time constraints.
Round 2 - System Design
Q. Design Realtime Logging System
Interviewer was mostly interested for LLD. Wrote the LLD code. Interviewer was mostly satiesfied with solution.
Result: Received a rejection email as I wasn’t able to solve the data structures problem during the interview.


