Before writing code on the whiteboard, briefly summarize your plan. Something like, "I will use a sliding window technique to reduce time complexity, followed by checking distinct character counts," helps ensure you and the interviewer are aligned.
- Log in or register to contribute
Contribute to three or more articles across any domain to qualify for the Contributor badge. Please check back tomorrow for updates on your progress.