Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Media.net interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Media.net
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 - 6 months
Topics: Data Structures, DP, Graph, Web Tech, OOPS
Tip
Tip

Tip 1 : Keep on toughing it out until you get hang of it.
Tip 2 : Be consistent.

Application process
Where: Linkedin
Eligibility: Nope
Resume Tip
Resume tip

Tip 1 : Put more on the technical side of things rather than hobbies and non-tech achievements
Tip 2 : Try to cover good projects

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date15 Sep 2021
Coding problem0

Consisted of 2 DSA problems and other web tech questions.

02
Round
Easy
Video Call
Duration60 Minutes
Interview date17 Mar 2022
Coding problem2

Around Noon
Google Meet
Interviewer was quite friendly and chill

1. Buy and Sell Stock - III

Hard
10m average time
90% success
0/120
Asked in companies
FacebookAppleOla

Given an array "prices". In "prices" the ith element is the price of the stock on the ith day. Your task is to find maximum profit at the end of the ith day. You may complete at max 2 transactions.

You can perform a transition with these conditions -

1. Not allowed to engage in more than 1 transaction at a time, which means if you have bought stock then you can buy another stock before selling the first stock.

2. If you bought a stock at ‘X’ price and sold it at ‘Y’ price then the profits ‘Y - X’.
Note:
It is not compulsory to perform an exact '2' transaction.
Problem approach

Gave the DP approach

Try solving now

2. Matrix Chain Multiplication

Moderate
40m average time
60% success
0/80
Asked in companies
WalmartInfo Edge India (Naukri.com)Morgan Stanley

Given a chain of matrices A1, A2, A3,.....An. Your task is to find out the minimum cost to multiply these matrices. The cost of matrix multiplication is defined as the number of scalar multiplications. A Chain of matrices A1, A2, A3,.....An is represented by a sequence of numbers in an array ‘arr’ where the dimension of 1st matrix is equal to arr[0] * arr[1] , 2nd matrix is arr[1] * arr[2], and so on.

For example:

For arr[ ] = { 10, 20, 30, 40}, matrix A1 = [10 * 20], A2 = [20 * 30], A3 = [30 * 40]

Scalar multiplication of matrix with dimension 10 * 20 is equal to 200.
Problem approach

Started with recursion
Then memoizaiton
in the end DP

Try solving now
03
Round
Easy
Video Call
Duration30 Minutes
Interview date20 Mar 2022
Coding problem1

Around Noon
Video Call
Interview was pretty chill

1. Count Strongly Connected Components (Kosaraju’s Algorithm)

Hard
40m average time
65% success
0/120
Asked in companies
AppleAmazonAtlassian

You are given an unweighted directed graph having 'V' vertices and 'E' edges. Your task is to count the number of strongly connected components (SCCs) present in the graph.

A directed graph is said to be strongly connected if every vertex is reachable from every other vertex. The strongly connected components of a graph are the subgraphs which are themselves strongly connected.

Note :
Use zero-based indexing for the vertices.

The given graph doesn’t contain any self-loops.
Problem approach

- was tricky to decode the problem into SCC
- But afterwards was pretty easy

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

One of the following is a selection statement, Which is it?

Choose another skill to practice
Start a Discussion
Similar interview experiences
SDE - 1
4 rounds | 8 problems
Interviewed by Media.net
921 views
0 comments
0 upvotes
Web Developer
2 rounds | 2 problems
Interviewed by Media.net
0 views
0 comments
0 upvotes
Web Developer
3 rounds | 4 problems
Interviewed by Media.net
329 views
0 comments
0 upvotes
Web Developer
2 rounds | 5 problems
Interviewed by Media.net
290 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree
10664 views
7 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
6683 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
8019 views
1 comments
0 upvotes