i
PubMatic
Filter interviews by
I applied via LinkedIn and was interviewed before Feb 2023. There were 2 interview rounds.
Designing a chess game involves creating a board with 64 squares, defining the movement rules for each piece, implementing game logic, and designing a user interface.
Create a 8x8 board with alternating colors for squares
Define movement rules for each type of chess piece (pawn, rook, knight, bishop, queen, king)
Implement game logic for capturing pieces, checkmate, stalemate
Design a user interface for players to interact
I applied via campus placement at Walchand College of Engineering, Sangli and was interviewed before Sep 2022. There were 5 interview rounds.
2 medium level questions
Implement a stack data structure using an array of strings.
Use an array to store the strings in the stack.
Implement push() and pop() functions to add and remove elements from the stack.
Keep track of the top of the stack using a variable.
I applied via Job Fair and was interviewed before Oct 2021. There were 3 interview rounds.
Sar mujhe job ki bahut jyada jarurat hai
PubMatic interview questions for popular designations
I applied via Recruitment Consulltant and was interviewed before Oct 2022. There were 4 interview rounds.
Questions around DSA were asked
Questions about ML fundamentals were asked along with last experience
Get interview-ready with Top PubMatic Interview Questions
I applied via LinkedIn and was interviewed in May 2021. There was 1 interview round.
Multiprocessing is the use of multiple processors to execute multiple tasks simultaneously. Multithreading is the use of multiple threads within a single process to execute multiple tasks simultaneously.
Multiprocessing involves the use of multiple processors or cores to execute multiple tasks simultaneously.
Multithreading involves the use of multiple threads within a single process to execute multiple tasks simultaneou...
Simulating one user profile to another can be done through user impersonation.
User impersonation can be achieved through various tools and techniques.
One way is to use a proxy server to intercept and modify the user's requests and responses.
Another way is to use a browser extension or plugin that allows you to switch between user profiles.
You can also use a testing tool like Selenium to automate the process of switchin...
bashrc and .profile are configuration files for the Bash shell in Linux/Unix systems.
bashrc is executed for every new interactive shell session
.profile is executed only once during login
They contain environment variables, aliases, and other shell settings
bashrc is typically used for user-specific settings, while .profile is system-wide
Examples: setting PATH variable, defining aliases, setting prompt
Code using multithreading to scan 3 log files for different patterns and write matches in o/p file with low memory footprint.
Use Python's threading module to create multiple threads for each log file
Use regex to search for patterns in each log file
Write matches to output file using a thread-safe queue
Use a memory-efficient data structure like deque to store log file lines
Code to run as a service to scan CPU/memory every 30 sec and calculate min, max, avg and moving avg of last 300 sec.
Use a loop to run the code every 30 sec
Use psutil library to get CPU/memory usage
Store the values in a list and calculate min, max, avg and moving avg using numpy library
Use threading to run the code in the background as a service
I was interviewed in Jan 2021.
Round duration - 90 Minutes
Round difficulty - Medium
It was a zoom call with a SDE-2 person, after 15 mins into my background he jumped directly to the questions
Given a Binary Tree comprised of 'N' nodes with integer values, your task is to print the zigzag traversal of the tree.
The zigzag pattern implies th...
We can use level order traversal (recursive) to explore all levels of the tree. Also, at each level nodes should be printed in alternating order.
For example - First level of tree should be printed in left to right manner, Second level of tree should be printed in right to left manner, Third again in left to right order and so on.
So, we will use a Direction variable whose value will toggle a...
Convert a given binary tree into its mirror tree, where the left and right children of all non-leaf nodes are interchanged.
An integer ‘T’ denoting the number o...
The idea is to traverse the binary tree and swap the left and right subtrees.
The steps are as follows:
You are given a binary tree consisting of 'N' unique nodes and a start node where the burning will commence. The task is to calculate the time in minutes required to completely b...
The idea is to first create an undirected graph of the given binary tree and then doing a bfs traversal of the undirected graph starting from the start node. We will keep a variable ‘count’ that will be incremented at each level of bfs traversal. ‘count-1’ is the required time needed to burn the whole tree.
Algorithm
Round duration - 90 Minutes
Round difficulty - Medium
Again this was a Problem Solving round taken by a SDE-2
Given a Directed Acyclic Graph (DAG) consisting of V
vertices and E
edges, your task is to find any topological sorting of this DAG. You need to return an array of size ...
In the Depth First Search (DFS), we start from a vertex, we first print it and then recursively call DFS for its adjacent vertices. In topological sorting, we use a stack. We don’t print the vertex immediately, we first recursively call topological sorting for all its adjacent vertices, then push it to a stack. Finally, print contents of the stack. Note that a vertex is pushed to stack on...
Round duration - 100 Minutes
Round difficulty - Hard
This round was with a SDE-3(Principal Engineer)
Find the number of trailing zeroes in the factorial of a given number N
.
The first line contains an integer T
representing the number of test cases.
Each of the...
O(1), as we are using constant extra m...
Round duration - 90 Minutes
Round difficulty - Hard
This round was scheduled with a SDE-3/SDE-4(Senior Principal Engineer):
He directly started with questions after my introduction of 5mins
Round duration - 90 Miinutes
Round difficulty - Medium
Discussion with Hiring Manager
A thief is planning to steal from several houses along a street. Each house has a certain amount of money stashed. However, the thief cannot loot two adjacent houses. Determi...
Suppose that the robber is at the ith house. The robber has two options:
You will follow the same for the rest of the houses. Thus, if maxLoot(i) is the maximum loot possible when we’re at the ith house, t...
Round duration - 75 Minutes
Round difficulty - Easy
This round was with VP in Redwood City , it was scheduled around 11:00 pm IST
Tip 1 : Be solid with the basics of Ds, Algo. Good to have end to end projects which are hosted on cloud/Github.
Tip 2 : Its always good to be presentable and have good communications skills
Tip 3 : Be honest, clear in approach and always walkthrough your thought process to the interviewer, If you dont know something kindly refuse , dont try to fake anything
Tip 1 : Mention your projects and experience at the top. Be clear on what was done, a brief on how it was done, language /tech stack involved. If possible try to host and make it accessible. You never know if you can present it with just one click.
Tip 2 : Choose a balance between, white spaces and text, it should be well indented, no grammatical errors.
Tip 3 : It takes less than 2 min to scan a resume. Don't mention things which are irrelevant.
I was interviewed in Apr 2021.
I applied via Naukri.com and was interviewed in Sep 2020. There was 1 interview round.
I was interviewed before Jun 2016.
I prefer Python because of its simplicity, readability, and extensive libraries.
Python is known for its simplicity and readability, making it easier to write and understand code.
Python has a large number of libraries and frameworks that can be used to quickly develop applications.
Python's syntax is clean and concise, allowing for faster development and easier maintenance.
Python is widely used in various domains such as...
I want to work with Pubmatic because of their innovative technology solutions and strong reputation in the industry.
Pubmatic is known for their cutting-edge technology solutions in the digital advertising space
I admire Pubmatic's strong reputation and track record in the industry
I believe working at Pubmatic will provide me with valuable learning opportunities and career growth
The duration of PubMatic interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 21 interviews
Interview experience
based on 116 reviews
Rating in categories
Softwaretest Engineer
102
salaries
| ₹3.4 L/yr - ₹5.1 L/yr |
Senior Software Engineer
80
salaries
| ₹12 L/yr - ₹39.1 L/yr |
Software Engineer
72
salaries
| ₹8 L/yr - ₹27 L/yr |
Principal Software Engineer
46
salaries
| ₹19.5 L/yr - ₹51 L/yr |
QA Engineer
27
salaries
| ₹3.5 L/yr - ₹4.9 L/yr |
InMobi
Komli Media
Adcolony
Affle