20 questions · from 5 interviews
Nykaa interview questions
Every question candidates reported from their Nykaa interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Nykaa coding and DSA questions
- 01
Course Schedule
Given a list of courses and prerequisites, determine if it is possible to finish all courses. (LeetCode problem).
Medium · From NYKAA SDE1 INTERVIEW EXPERIENCE [SEP 2026]
- 02
Max Consecutive Ones III
Given a binary array, find the maximum number of consecutive 1s you can obtain by flipping at most K zeros. (LeetCode problem).
Medium · From NYKAA SDE1 INTERVIEW EXPERIENCE [SEP 2026]
- 03
Implement Mean, Median, and Mode in Core Python
Write code to compute mean, median, and mode of a list of numbers using only core Python, without importing any external libraries such as numpy or statistics.
Medium · From Nykaa MLS2 / Data Scientist 2 Interview Experience
- 04
Implement Decision Tree from Scratch
Build a decision tree classifier from scratch using pure Python. Include node splitting based on Gini impurity or information gain.
Hard · From Nykaa MLS2 / Data Scientist 2 Interview Experience
- 05
Unbiased Outcome Using Biased Coin
Given a biased coin which may not land heads/tails with equal probability, describe how you can generate fair/unbiased outcomes using this coin.
Medium · From Nykaa MLS2 / Data Scientist 2 Interview Experience
- 06
Triangle Formation Probability from Stick Breaking
A stick of length 1 meter is randomly broken into three pieces. What is the probability that these three pieces can form a triangle?
Hard · From Nykaa MLS2 / Data Scientist 2 Interview Experience
- 07
Linear Regression from Scratch
Implement linear regression model from scratch using only core Python or PyTorch tensors, without using sklearn or similar frameworks.
Medium · From Nykaa MLS2 / Data Scientist 2 Interview Experience
- 08
Populating Next Right Pointers in Each Node
Given a binary tree where each node has an additional next pointer, connect each node's next pointer to its next right node on the same level. If there is no node to the right, set the next pointer to null. The solution must use only constant extra space…
Medium · From Nykaa || SDE 2 || Interview Experience || March 2026
- 09
Intersection of Two Linked Lists
Given the heads of two singly linked lists, determine the node at which the two lists intersect. Return the intersecting node or null if there is no intersection. The solution should run in O(n) time and O(1) additional space.
Easy · From Nykaa || SDE 2 || Interview Experience || March 2026
- 10
Minimum Resources for Computation Requests
There are n computation requests in a queue to the server. Each request is assigned a rating value given in an integer array ratings. The server needs to allocate computational resources to the requests subject to the following conditions: Each request must…
From Nykaa | Rejected
- 11
Keys and Rooms
There are n rooms labeled from 0 to n - 1 and all the rooms are locked except for room 0. Your goal is to visit all the rooms. However, you cannot enter a locked room without having its key. When you visit a room, you may find a set of distinct keys in it.…
Medium · From Nykaa | Rejected
Nykaa system design questions
- 01
Design Complete Order Flow
Design the full order flow for an e-commerce platform, starting from the shopping cart and covering all stages of an order.
- 02
Inventory Concurrency
Explain how to handle a scenario where N users attempt to purchase the same item concurrently, ensuring inventory consistency and avoiding overselling.
- 03
Online Payment Aggregator Design
Design and implement an online payment aggregator system with support for multiple payment gateway modules. The implementation should demonstrate proper design patterns, code structure, and expose functional APIs.
From Nykaa | SDE3
- 04
High-Level Design of Notification Service
Design a high-level architecture for a notification service that delivers notifications to multiple user devices. The system should incorporate a mechanism to synchronize read status across devices (if one device marks a notification as read, all other…
From Nykaa | SDE3
Nykaa behavioural and HR questions
- 01
Random Variable Definition
Define what a Random Variable is and clarify what makes it 'random' in mathematical terms.
- 02
Student’s t-Distribution Explanation
Explain Student’s t-distribution and provide examples where it is more appropriate than normal distribution.
- 03
Central Limit Theorem Statement
State and explain the Central Limit Theorem and its practical implications in statistical inference.
- 04
Bias in Bias-Variance Tradeoff
Explain the concept of bias in machine learning models and how it contributes to the overall error along with variance.
Nykaa other questions
- 01
Design Splitwise
Design an object-oriented system for a bill-splitting application similar to Splitwise, focusing on class structures and interactions.
Nykaa interview questions FAQ
What questions are asked in Nykaa interviews?
Candidates reported 20 distinct questions across 5 Nykaa interviews. 11 coding and DSA questions, 4 system design questions, 4 behavioural and HR questions, 1 other questions.
How difficult are Nykaa interview questions?
Of the questions candidates rated, 10% were easy, 70% medium and 20% hard.