Microsoft
Microsoft

Software Development Engineer 3

Longest Substring with At Least K Repeating Characters

Medium
ROUND 1 (DSA)CodingCandidate Not Selected

Given a string 's' and an integer 'k', return the length of the longest substring of 's' such that the frequency of each character in this substring is greater than or equal to 'k'.

This question was asked in

Microsoft Software Development Engineer 3 Interview Experience

The interview experience at Microsoft consisted of two rounds, with a strong focus on Data Structures and Algorithms (DSA) in the first round, followed by Low Level Design (LLD) concepts in the second round. Candidates should expect questions that challenge their problem-solving abilities and understanding of systems architecture. Overall, the interview process was moderately difficult, emphasizing both technical depth and practical application.

AI Powered

Share Your Story

Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.

Take Mock Interview

Prepare better with expert feedback

Want to Connect 1:1?

Connect with me 1:1 for career guidance, resume reviews, interviews, and more.

Show Your Love!

Connect with us on social media

Longest Substring with At Least K Repeating Characters | Microsoft Interview Question | InterviewRecap | InterviewRecap