44 questions · from 14 interviews

Media.net interview questions

Every question candidates reported from their Media.net interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Media.net coding and DSA questions

  1. 01

    Maximize Salary Sum in Employee Hierarchy

    We have a company hierarchy where each employee (except the CEO) reports to exactly one manager, forming a tree structure. Initially every employee's salary is 0. A set of tasks is given, each targeting a list of employees. For each task you must either…

    From My media.net Interview Experience (for SRE Internship)

  2. 02

    TCP Key‑Value Server

    Implement a TCP server that maintains an in‑memory key‑value store. The server must support the commands: SET // store the value under the key GET // retrieve the value for the key DEL // delete the key and its value For any invalid command, the server should…

    From Media.net SRE Interview Experience (Bangalore)

  3. 03

    Find Employee with Highest Salary

    Given an employee table, retrieve the employee name and salary of the employee who has the highest salary.

    From Database Developer (Freshers) Interview Experience At Media.net (Mumbai)

  4. 04

    Find Person with Maximum Work Duration

    From a dataset containing redundant names and work history, identify the person (X) who has worked for the greatest total amount of time.

    From Database Developer (Freshers) Interview Experience At Media.net (Mumbai)

  5. 05

    Palindrome Check

    Determine whether a given string reads the same forward and backward.

    From Database Developer (Freshers) Interview Experience At Media.net (Mumbai)

  6. 06

    First Repeated Character in String

    Find the first character that appears more than once in the given string.

    From Database Developer (Freshers) Interview Experience At Media.net (Mumbai)

  7. 07

    Probability of hitting k heads

    Compute the probability of obtaining exactly k heads in a series of coin tosses using dynamic programming.

    From Media.net | SDE 2 | Bangalore | Rejected

  8. 08

    Longest Substring Without Repeating Characters (variation)

    Given a string, find the length of the longest substring without repeating characters using the sliding window technique.

    From Media.net | SDE 2 | Bangalore | Rejected

  9. 09

    Minimum Replacements for Pool Ball Grid

    Infinite number of pool balls are available. Ball could be any of 26 distinct colors. Balls are arranged in a grid of n m. Coach wants to replace some coloured balls with other coloured balls (from a set of infinite pool balls, no internal rearrangements for…

    Hard · From Media.net | SDE 2 | Interview Experience

  10. 10

    Matrix Diagonal Traversal

    Given a matrix, traverse its elements in diagonal order. I initially approached this using Depth-First Search (DFS) but was asked to provide a more optimized solution, specifically one utilizing a queue and right traversal logic.

    Medium · From SDE-2 Media.net

  11. 11

    Minimum Points to Connect All Points (Vertical/Horizontal)

    Given an array of points (x, y), I can only move either vertically or horizontally in a single step. The problem requires returning the minimum number of additional points needed to connect all the given points.

    Hard · From SDE-2 Media.net

  12. 12

    Knight Probability in Chessboard

    Given an N×N chessboard and a knight at (row, column), find the probability that the knight remains on the board after exactly K moves.

    Medium · From Media.Net SDE 2 Interview Round1

  13. 13

    Find the Celebrity

    In a party of N people, a celebrity is someone who is known by everyone else but does not know anyone. Given an API bool knows(a, b) which returns true if a knows b, find the celebrity.

    Medium · From Media.Net SDE 2 Interview Round1

  14. 14

    Unique Paths II

    Given a m x n grid with obstacles, find the number of unique paths from the top-left corner to the bottom-right corner. The robot can only move right or down.

    Medium · From Media.net SDE-2 Android Interview Experience

  15. 15

    Lowest Common Ancestor of a Binary Tree

    Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.

    Medium · From Media.net SDE-2 Android Interview Experience

  16. 16

    Next Greater Element in Circular Array

    Given an array arr[] of integers, the task is to find the Next Greater Element for each element of the array in order of their appearance in the circular array. Input: arr[] = [2, 5, -3, -4, 6, 7, 2] Output: [5, 6, 6, 6, 7, -1, 5]

    From Data Engineer || Media.net || 2 YOE

  17. 17

    Climbing Staircase with Max Steps

    You're given two positive integers representing the height of a staircase and the maximum number of steps that you can advance up the staircase at a time. Write a function that returns the number of ways in which you can climb the staircase. Note that…

    From Data Engineer || Media.net || 2 YOE

  18. 18

    Tournament Teams from Total Matches

    Given an integer N representing the total number of matches played in a tournament, find all possible values for the number of teams (k) that could have participated.

    Hard · From Media.net Interview Experience | SDE New Grad | On-Campus

  19. 19

    Minimum Recolorings in 2D Grid

    You are given a 2D grid of size m x n, where each cell contains a ball painted with a color, represented by a lowercase English letter ('a' to 'z'). Your goal is to recolor the balls such that: 1. In each row, no color appears more than twice. 2. No two…

    Hard · From Media.net SDE intern question for technical round 1

  20. 20

    Implement Splitwise

    Design and implement the Splitwise application. The expectation was to come up with running code with proper Low-Level Design (class design).

    From Media.net Interview Exp | YOE 8 yrs | No Offer | SSE/Lead SE

  21. 21

    Sum of Distances from Nodes in Weighted Binary Tree

    You are given a rooted binary tree with weights on edges. The distance between two nodes in this tree is the sum of the edge weights on the path between the two nodes. SUM[u] is the sum of the distances between u and all the other nodes in the tree. Task 1 :…

    Hard · From Media.net SDE-1 interview coding question off campus 2021 graduate

Media.net system design questions

  1. 01

    Proxy for TCP Key‑Value Server

    Design and implement a proxy that sits between the client and the TCP key‑value server. The proxy should forward all client requests to the server and relay the server's responses back to the client transparently.

    From Media.net SRE Interview Experience (Bangalore)

  2. 02

    Load Balancer for Multiple Backend Servers

    Extend the architecture by replacing the single backend server with multiple backend servers. Implement a load balancer that receives client connections and distributes the requests among the backend servers. The load balancer should support a chosen…

    From Media.net SRE Interview Experience (Bangalore)

  3. 03

    Database Schema Design for E‑Commerce Application

    Design a relational database schema for an Amazon‑like application that includes entities such as Users, Products, Cart, Orders, and User Settings, describing primary keys, relationships, and necessary tables.

    From Database Developer (Freshers) Interview Experience At Media.net (Mumbai)

  4. 04

    Design an Uber-like platform

    Design an Uber‑like platform with multiple specific constraints and conditions.

    From Media.net | SDE 2 | Bangalore | Rejected

  5. 05

    Design and Build a Calendar Application

    I was asked to Build a Calendar application. I came up with the following requirements, which we discussed further: 1. user should be able to add events 2. user should be able to edit events 3. user should be able to accept/reject the event 4. user can have…

    Medium · From Media.net | SDE 2 | Interview Experience

  6. 06

    Design Customer Support Ticket Manager

    Design a customer support ticket manager system involving agents, users, and tickets. The design should focus on ticket creation and ticket assignment, considering that some agents are experts in certain categories and tickets should be assigned accordingly.

    From Media.net SDE2/Sr SDE Interview experience

  7. 07

    Design Tweet Trend Detection System

    Design a system to detect trends from tweets.

    From Media.net SDE2/Sr SDE Interview experience

  8. 08

    Design Train Ticket Booking System (IRCTC-like)

    Design a train ticket booking system similar to IRCTC, with a particular focus on the database schema.

    From Media.net SDE2/Sr SDE Interview experience

  9. 09

    Design a Task Scheduler

    Design a task scheduler system that needs to handle a variety of complex features: Dependencies: Tasks can depend on other tasks, and dependent tasks should not run until their prerequisites are complete. Priority: Tasks have priorities (e.g., 1, 2, 3), and…

    Hard · From SDE-2 Media.net

  10. 10

    Design HLD + LLD for a Favorite Android App

    I was asked to choose a favorite Android application and design its High-Level Design (HLD) and Low-Level Design (LLD). I selected the Google Search App.

    Hard · From Media.net SDE-2 Android Interview Experience

  11. 11

    Design Vaccine Booking Application

    Design the High-Level Design (HLD) for a Vaccine Booking application. The main focus was on how to handle the peak traffic when booking slots open.

    From Media.net Interview Exp | YOE 8 yrs | No Offer | SSE/Lead SE

  12. 12

    Design LinkedIn Mutual Connections

    Design how Mutual connections in LinkedIn are implemented at a System level. Considerations included Non-Functional Requirements (NFRs) like QPS, data size, database choice, and unique user ID generation.

    From Media.net Interview Exp | YOE 8 yrs | No Offer | SSE/Lead SE

Media.net other questions

  1. 01

    OS: Parallel Execution with One Core

    If you are given one core and a process, how will you execute it parallely? The interviewer wanted to ask about context switching.

    From Media.net | SDE 2 | Interview Experience

  2. 02

    Networking: What Happens When You Type in Browser?

    When you type something on a browser, what happens then?

    From Media.net | SDE 2 | Interview Experience

  3. 03

    DBMS: Second Highest Salary

    Query the second highest salary from employee table.

    Easy · From Media.net | SDE 2 | Interview Experience

  4. 04

    Singleton Design Pattern Implementation

    How can you make sure only one instance of a service class is being used in the whole application? I answered that this can be achieved using the singleton design pattern. We discussed all three implementations of singleton, and I was asked to write pseudo…

    Medium · From Media.net | SDE 2 | Interview Experience

  5. 05

    Android Core Concepts Discussion

    Discussion covered various core Android concepts including the lifecycle of Activity, Fragment, and ViewModel, the internal workings of ViewModel, Dependency Injection principles, Activity launch modes, and general Android best practices.

    From Media.net SDE-2 Android Interview Experience

  6. 06

    Customer Order Analysis with Discounts

    Given the following tables: CUSTOMERMASTER Customerid name mobno 1 xyz 1234567899 Product table: productkey price(INR) 4 100 5 150 6 200 10 300 orders: orderid customerid productid date discountpoints 1 1 5 10-02-2025 1 2 2 6 10-02-2025 2 3 3 5 12-02-2025 1 4…

    From Data Engineer || Media.net || 2 YOE

  7. 07

    Referential Integrity Constraint and SQL Query

    What is a Referential Integrity Constraint and how do you write the SQL query for it?

    From Media.net Interview Experience | SDE New Grad | On-Campus

  8. 08

    TCP vs UDP Differences

    What are the main differences between TCP and UDP? Give real-world examples for each.

    From Media.net Interview Experience | SDE New Grad | On-Campus

  9. 09

    Purpose of Static Keyword

    What is the static keyword and what is its purpose?

    From Media.net Interview Experience | SDE New Grad | On-Campus

  10. 10

    Method Overriding vs Overloading

    Explain the difference between Method Overriding and Method Overloading.

    From Media.net Interview Experience | SDE New Grad | On-Campus

  11. 11

    Can Static Method Be Overridden?

    Can a static method be overridden? Explain why or why not.

    From Media.net Interview Experience | SDE New Grad | On-Campus

Media.net interview questions FAQ

What questions are asked in Media.net interviews?

Candidates reported 44 distinct questions across 14 Media.net interviews. 21 coding and DSA questions, 12 system design questions, 11 other questions.

How difficult are Media.net interview questions?

Of the questions candidates rated, 7% were easy, 47% medium and 47% hard.