PUBMATIC INTERVIEW EXPERIENCE :
Apti:
100% Technical.
MCQs of OOP, CN, OS, DSA theory and 2/3 coding questions.
⏰ Time: 1 hr 30 mins
Interview:
Total 3 technical coding Rounds. And 1 HR Call.
1st Interview:
Asked theory questions from all subjects including concepts of CN, OS, OOPs. 1 difficult database query (based on joins) and 2 coding questions.
⏰ Time: 1 hr 30 mins.
2nd Interview:
4 coding questions of DSA.
Array, Circular Queue, Constructors, Tree.
⏰ Time: 1hr
3rd Interview:
FrontEnd related questions based on Resume.
⏰ Time: 30mins
Tips:
All the best!
2. Coding questions
1.MCQ were based on core subjects and OOPS. There were around 30 MCQ questions. Difficulty level of questions were from easy to moderate. Time will be the main constraint for cracking this stage. You have to give correct answers of minimum 75%-80% MCQs for making your chance to qualify for interview a bit stronger.
2. DSA question were basic, but were application based, there are no straight forward questions as you practice in any of the sheets. You have to use the concept of questions you solved previously in such application based questions. There were three coding questions and you have to solve atleast 2 questions completely and last question must have atleast 50 % test cases passed. Array, string, stack, queue were on main focus.
There were total of 3 rounds.
Round 1: Aptitude
20 MCQs which included SQL, OS,C,C++ and 2 coding questions
1. https://www.geeksforgeeks.org/sum-of-all-possible-expressions-of-a-numeric-string-possible-by-inserting-addition-operators/
2. The Missing Prisoner Prisoners are standing on a Cartesian coordinate system present inside a jail. Each prisoner stands at a unique point with both the coordinates (x,y) being integers. Each prisoner should be at a position that forms a rectangle or square with 3 other prisoners. More formally, every prisoner at a coordinates pair [x, y] should have: at least one prisoner standing at integer coordinates (x. ay) where ay != y. at least one prisoner standing at integer coordinates [bx, y] where bx != x. Unfortunately, one prisoner has escaped. Find the coordinates of that prisoner. Example locations = [[1, 1], [1, 2], (2, 1)] [4. 4), (4, 6], [9. 4). [98]]
Round 2: Interview
DSA questions
> Online Assessment (16th july 2022)
1)visible tower - for ith tower find visible towers at left +right
visible are those which having greater height than ith tower, similar to below question
(https://leetcode.com/problems/number-of-visible-people-in-a-queue/)
2)Extraordenary substring - a=1,b=1,c=2,d=2,e=2,dialing keypad mapping
find count of all substring whose sum%len(substring)==0 sum was calculated by mapping
3) MCQ -15 find output, sql,oops,os,dbms (medium)
first interview (45-50 min) (18th july 2022)
> introduce yourself
> projects - technology,features,backend,
> coding questions
(1) https://leetcode.com/problems/average-of-levels-in-binary-tree/
(2) https://leetcode.com/problems/missing-number/ (3 appraoches)
> Operating System Questions
- Memory management
- what is threading?
- Deadlock concept
> Questions on oops
> do you have any questions?
second interview (80-90 min) (19th july 2022)
> introduce yourself
> https://www.geeksforgeeks.org/sorting-larger-file-with-smaller-ram/
> based on above question- merge to sorted linked list (https://leetcode.com/problems/merge-two-sorted-lists/)
> Decleare an array to store strings in c
> Malloc and calloc functions
> operating System Questions
- paging concept
-fixed,dynamic partitioning
> do you have any questions ?
I had only 2 technical interviews and I was selected,but for some of my friends they took 3-4 interviews
This content is shared by college passout seniors. In case of any help please contact admin.
Online test : (90 min) MCQs Based on OS , CN , DBMS & 2 coding questions
Q.1 ) Given specific value for each alphabet from a to z like a-1 , b-1 , c-2, d-2 , e-2 , f-3 ,g-3 ,h-3 , …… , x-9 ,y-9, z-9 Count substrings whose addition of values is perfectly divisible by its length e.g string s = “abcdefg” substring “ab” its value is a+b i.e 1+1 = 2 , 2%2==0 so count is increased
Q.2 ) One Dynamic programming question on arrays , Height of each tower is given as arr[i] , find number of building visible from each tower
Technical Interview 1 (65 min)
1. Tell me about Yourself
2. Tell me about your projects..
3. Which data structure do you know , tell me something about it..?
4. DSA Q1) given linked list of 0->1->0->1->2->1->0->1 i) count total ones and zeros ii) break this into two linked lists before and after "2" , convert both linked lists into their binary to decimal value 5. DSA Q2) check if given string is valid ip address or not Complete function bool isvalid(char *s){ }
6. Tell me about different sorting techniques and their time complexities , when and where which one is preferred..
7. What are pointers ? What is dereferencing in pointers ? Where pointers are used ? Can we do multiplication or addition of two pointers ?
8. What's multi threading ?
9. What is critical section ? What is mutex and semaphore ?
10. Logical address space vs Physical Address space
11. What is virtual memory ? What's demand Paging ? What's page fault ?
Technical Interview 2 (105 min)
1. Run cpp code in command prompt
2. Do you know what's Linux ? Have u used it ?
3. Tell me commands in Linux 4. Given text file with billions of words , count frequency of given words and give output as token Frequency Sort in decreasing order of frequency..
5. What are types of map containers in STL ? What's the difference between them ?
6. Try to solve above's frequency vala problem without stl (he meant to implement our own map for strings )
7. What are command line arguments in CPP ?
8. What's the signature of the main() function in CPP?
9. Pointers question Given char *str ="welcome" ; char msg[] = "welcome" ; char msg[100] = "welcome"; int a = 3 ; int *ptr = &a ; What will be size of each thing declared over here?
10. Why pointer is 4 bytes ? Even if your system is 64 bit os..
11. Why pointer is having 8 bytes size in online compiler ?
12. What is operator overloading ? 13. Tell me type of constructor in each case string s = token ; string s(token) ; string s
This interview experience is shared by college pass out senior, In case of any help needed, please contact admin
ROUND 1)- Technical Round
1) Tell me about yourself?
2) What will be the output of the following codes in java?
i) String s1="java";
String s2='java";
sysout(s1==s2 );
sysout(s1.equals(s2));
Ii) String s1="java";
String s2=new String("java");
sysout(s1==s2 );
sysout(s1.equals(s2));
iii) String s1=new String("java");
String s2=new String('java");
sysout(s1==s2 );
sysout(s1.equals(s2));
3) Compare & discuss the following collection frameworks based on the time complexities of different
operations.
i) ArrayList vs LinkedList
ii) HashSet vs TreeSet.
4) Differentiate comparable and comparator in java.
5) Discuss four pillars of OOPs in java in brief.
6) What is Multithreading? How will you create a thread in java?
7) What are the states of the thread?
8) What is Deadlock? What are the necessary conditions for it? How will you prevent it?
9) What is Virtual memory & demand Paging?
10) Question: Find minimum jumps to reach at the end of the array?
(link=https://leetcode.com/problems/jump-game-ii/)
(My approach -> i) Recursive brute force ->T.C.=O(n!) S.C.(extra)=O(n);
i) Dynamic Programming ->T.C.=O(n*n) S.C.(extra)=O(n);
i) Greedy Approach(Valley-peek approach) ->T.C.=O(n) S.C.(extra)=O(1);)
2
ROUND 2)- Technical Round
1. Implement a linked list as a queue, perform insert, delete, and getSize operation in O(1)
complexity, and write clean & concise code for it using OOPs concepts
2. Find the Peek element from the given array(Hill type array) (https://www.geeksforgeeks.org/finda-peak-in-a-given-array/) (Expected complexity- O(log(n))).
Online Assessment (90 minutes)
Platform: HackerRank
Shortlisting Criteria
Technical Interview 1
Duration: 1 hour
Started with “Tell me about yourself.”
CS Fundamentals:
OS:
Project Discussion:
Discussion based on my project work.
Data Structures & Algorithms (DSA):
Final Question:
Do you have any questions for me?
This is an opportunity to show your curiosity and understanding of the company's work. Asking about any terms you came across during company research can be beneficial.
Technical Interview 2
Duration: 1.5 hours
The interviewer went through my resume and explained the structure of the interview:
DSA problem
Project discussion
System Design
SQL queries
DSA Problem:
Project Discussion:
System Design Problem:
SQL Queries:
Both interviews were held on the same day, and the results were communicated within a week. At our time, no HR round was conducted.
PubMatic shortlisted students based on CGPA criteria for online test.
26-08-2024 :
Online Assessment (90 minutes) -
Platform: HackerRank
Test includes MCQ's based on OS, DBMS, CN, DSA and two coding questions based on strings.
They shortlisted 10 students for interviews. Interview conducted at PubMatic office, Pune.
29-08-2024:
Technical Interview 1 -
Duration :- 1.5 hours
Technical Interview 2 -
Duration :- nearly about 1.5 hours
No HR was conducted and Results were announced on 2 sep 2024.
Final Verdict : Selected