ServiceNow SDE-2 Interview Question

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2022-05-10Added By Anonymous
Source: Link
Company: ServiceNow
Role: unknown
Interview Stage: unknown
Location: unknown
Year: unknown

Original Experience:
I wasnt able to give him a working solution

Input - > 1{first 2{second 1{third} fourth} fifth} 3{sixth}
Output -> first second third fourth second third fourth fifth sixth sixth sixth
Comments