12 questions · from 5 interviews
BharatPe interview questions
Every question candidates reported from their BharatPe interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
BharatPe coding and DSA questions
- 01
Merge K Sorted Linked Lists
Given K sorted singly linked lists, merge them into a single sorted linked list.
- 02
Calculate User Balance from Debit/Credit Array
Given debit and credit of a wallet as an integer array, return the user balance on any selected day (array index).
- 03
Reconstruct Itinerary
The problem asks to reconstruct an itinerary from a given list of flights.
- 04
Sliding Window Maximum
Given an array of integers nums, implement a sliding window of size k moving from left to right, returning the maximum in each window.
- 05
Minimum Insertions and Deletions
Given strings A and B, find the minimum number of insertions and deletions to convert A to B.
- 06
Minimize Sum of Daily Max Lecture Complexities
Given complexities of lectures like {10,20,30,40,50}. n is the total number of lectures, here n = 5. You can take up to n-1 lectures per day, but not all. The lectures need to be completed in such a way that the total sum of the maximum complexity per day…
BharatPe system design questions
- 01
Design Notification System
Design a notification system. Discuss trade-offs, how to handle priority notifications, and considerations for handling a high volume of notification requests.
- 02
Low-Level Design: Notification Service
Design a Notification Service capable of sending emails, SMS, and push notifications, respecting user preferences and ensuring scalability. Key Requirements: Support multiple notification channels (Email, SMS, Push). Implement user preferences for…
BharatPe other questions
- 01
SQL Query: Second Maximum Score
Write an SQL query to return the student with the second maximum score from a table.
- 02
SQL Query: Students with Scholarships in Multiple Years
Given a table 'students' with scholarship dates, write an SQL query to return all students who received a scholarship in both 2025 and 2026.
- 03
Internal workings of HashMap
Explain how a HashMap works internally.
- 04
Graceful Thread Shutdown
Explain how to close a thread gracefully.
BharatPe interview questions FAQ
What questions are asked in BharatPe interviews?
Candidates reported 12 distinct questions across 5 BharatPe interviews. 6 coding and DSA questions, 2 system design questions, 4 other questions.