Cohesity | Senior Software Engineer | Coding | Phone Screen

mittymitty·
Interview Date:February 2, 2026Region:UnspecifiedHiring Team/Org:General Hire

"In our file system, some legacy logs are compressed to save space. A compressed string follows the format kistringl, where the string inside the brackets is repeated exactly k times. You need to write a function that takes a compressed string and returns the fully expanded version. Brackets can be nested." Input: 3[a]2 [bc] Output: aaabcbc Input: 3[a2[c]] Output: accaccacc (Inner 2(c] becomes cc, then a+cc is repeat...

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.