Nykaa interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Nykaa
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data structures, algorithms, python, django, flask
Tip
Tip

Tip 1 : focus on DSA on early days of job hunt - mainly graph and dynamic programming, practice medium hard level only l.
Tip 2 : mild practice of DSA while on notice period and focus on technologies more on notice period
Tip 3 : Atempt coding round with relax mind

Application process
Where: Naukri
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Resume should be a easy read to eyes and mind.
Tip 2 : compress words, try to add more details with less words

Interview rounds

01
Round
Hard
Face to Face
Duration60 mins
Interview date7 Mar 2022
Coding problem2

First round is DSA coding round.
They asked 2 coding questions.
Both are DP questions
First one was relatively easy than second
Timming - Saturday around 11 am
Environment- can use own ide and need to copy paste to provided Google doc

1. Best Time to Buy and Sell Stock

Moderate
20m average time
80% success
0/80
Asked in companies
IntuitOptumOYO

You are given an array/list 'prices' where the elements of the array represent the prices of the stock as they were yesterday and indices of the array represent minutes. Your task is to find and return the maximum profit you can make by buying and selling the stock. You can buy and sell the stock only once.

Note:

You can’t sell without buying first.
For Example:
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
Problem approach

In this question DP approach is required.
1. Two dp list need to be created first, first for buy at ith day and second for sell at ith day. 
2 get the maximum difference for i =1 to n between both DP

Try solving now

2. Find All Triplets With Zero Sum

Moderate
30m average time
50% success
0/80
Asked in companies
MicrosoftFacebookDunzo

You are given an array Arr consisting of n integers, you need to find all the distinct triplets present in the array which adds up to zero.

An array is said to have a triplet {arr[i], arr[j], arr[k]} with 0 sum if there exists three indices i, j and k such that i!=j, j!=k and i!=k and arr[i] + arr[j] + arr[k] = 0.

Note :
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then (2, -3, 1), (-3, 2, 1) etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Problem approach

First I wrote recursive approach
Then i used memorization to optimize the code 
Using recursive approach plus memorization allow me to do it in limited time, thinking for optimal substructure is different in 30 mins of time.
But i solution is accepted.

Try solving now
02
Round
Medium
Face to Face
Duration60 mins
Interview date12 Mar 2022
Coding problem1

WhatsApp system design
Functional requirements
1. Send and receive msg in real time 

Steps to be done in this interview
Block diagram
Databse schema to be decided
Optimized queries to be used in APIs

1. System Design Question

System design - WhatsApp
Functional requirements- send and receive msg 
Following things are expected
Block diagram
Database schema
Database queries - optimized

Problem approach

Tip 1: prepare for system design interview
Tip 2: ask interviewer to filter the requirements
Tip 3: sense what interviewer is expecting and design accordingly

03
Round
Medium
Face to Face
Duration60 Minutes
Interview date14 Mar 2022
Coding problem1

Again system design round
2 pm 
Environment was just a text editor
Interviewer was great person

1. System Design Question

Design IRCTC, searching module
Functional requirements
Fast search
Constraints
100000 training are there in the system
1000000 station are there in the system
A train can have maximum 400 stops 
Write block diagram, decide database schema and how you store the trains and station information

Problem approach

Tip 1: think about problem statement before suggesting a solution
Tip 2: watch some heavy data handling system design videos 
Tip 3: learn about cache, load balancing

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 5 problems
Interviewed by Nykaa
3556 views
2 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Nykaa
2179 views
0 comments
0 upvotes
SDE - 2
2 rounds | 3 problems
Interviewed by Nykaa
2543 views
0 comments
0 upvotes
Software Developer
3 rounds | 4 problems
Interviewed by Nykaa
3592 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes