PubMatic Interview Experience For SDE (On-Campus)
Round 1:
In total, there are 17 questions.
15 MCQs + 2 coding questions
There were 211 students in round 1, and 20 were selected for the next rounds, including me.
Before the technical interview, they asked us to give our top 3 preferred languages for the next round. The choice of language is between Scala, Java, JavaScript, and C programming.
Round 2: (First Technical Interview)
The interviewer is quite friendly.
- The interviewer asked me to introduce myself.
- Then asked me to explain my project (I explained my final-year group project).
- After that, questions related to the project, like what my role was in the project and how it was different from the existing applications.
- Then asked me to explain the four pillars of the OOPS.
- Difference between abstract class and interface.
- Questions about hashmap.
- Then the interview moves on to the main part i.e DSA,
- Given an array and a target number, find the first subarray that has a sum equal to the target.
- Given a linked list and target, delete the last node in the linked list having a value equal to the target.
- Question-based on joins
- SQL query to find the second-highest salary in the table.
The interview went for 1 hour, including me few students selected for the second technical.
Round 3 : (Second Technical Interview)
- Introduce yourself.
- Explain the project and questions related to it same as the first round.
- Explain Encapsulation and abstraction with real-life examples.
- Why string is immutable?
- Internal working of hashmap.
- Data Structure and algorithm question
- Decode the string
- Input Output
- [a2[b]] : abb
- 2[b3[a]]] : baaabaaa
- 3[a2[b]] : abcbcabcbcabcbc
- Explain the program, process and thread.
- What is deadlock? Deadlock avoidance conditions.
- What is a semaphore?
- SQL query to find the number of distinct employees.
The interview went for 1 hr 20 min.
Only three students were selected for the HR round.