Walmart
Walmart

Software Engineer 3

Find the kth Highest Frequency Character

Medium
First Round (DSA Interview)CodingCandidate Selected

In a stream of characters, determine which character has the kth highest frequency. If two characters have the same frequency, return the one that appears first in the stream. Example: If the input is 'abracadabra', k = 2, the output should be 'a'.

This question was asked in

Walmart Software Engineer 3 Interview Experience

The Walmart interview process for a Software Engineer position consisted of four rounds, featuring a diverse range of questions. The first round focused on Data Structures and Algorithms, while subsequent rounds covered Low Level Design, technology-specific discussions, and behavioral assessments. The overall difficulty level was medium, with candidates required to demonstrate technical prowess and engage in deep discussions regarding project management and technology choices. Candidates should be prepared for both coding and HR-related inquiries throughout the interview at Walmart.

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