Premium Employer

i

This company page is being actively managed by Lenskart Team. If you also belong to the team, you can get access from here

Lenskart Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Lenskart SDE-2 Interview Questions and Answers

Updated 27 May 2022

Lenskart SDE-2 Interview Experiences

1 interview found

SDE-2 Interview Questions & Answers

user image Anonymous

posted on 27 May 2022

I appeared for an interview in Mar 2022.

Round 1 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

1 Medium/Easy DSA questions were asked similar to Leetcode.

I was expected to come up with the most optimal solution for the same. I completed the code and explained in 45 mins.

In the remaining time, I was asked questions from Computer Science fundamentals and Java

  • Q1. 

    Unique Element In Sorted Array

    Nobita wants to impress Shizuka by correctly guessing her lucky number. Shizuka provides a sorted list where every number appears twice, except for her lucky number, which a...

  • Ans. 

    Find the unique element in a sorted array where all other elements appear twice.

    • Use XOR operation to find the unique element in the sorted array.

    • Iterate through the array and XOR all elements, the result will be the unique element.

    • Time complexity of O(n) can be achieved by iterating through the array once.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

Low-level system design round. 
Expected to come up with a running code.

  • Q1. 

    LRU Cache Implementation Problem

    Design and implement a Least Recently Used (LRU) cache data structure. This cache must support the following operations efficiently:

    • get(key): Return the value associate...
  • Ans. 

    Implement a Least Recently Used (LRU) cache data structure that supports get and put operations efficiently.

    • Design a data structure that maintains a cache with a specified capacity.

    • Implement get(key) function to return value associated with key or -1 if key doesn't exist.

    • Implement put(key, value) function to insert/update key-value pair in cache.

    • Invalidate least recently used item when cache reaches its capacity.

    • Handle...

  • Answered by AI
Round 3 - HR 

(1 Question)

Round duration - 30 minutes
Round difficulty - Easy

Standard behavioural questions by HR

  • Q1. Can you describe your past work experiences and projects from your previous company?

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in GurgaonEligibility criteriaAbove 1 years of experienceLenskart interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Break down the total topics based on your comfort and ease and try and master one topic at a time
Tip 2 : Try and up solve
Tip 3 : Always try and come up with multiple solutions for a DSA question starting from brute force to optimal solution.

Application resume tips for other job seekers

Tip 1 : Try to keep it short and crisp.
Tip 2 : Always make the entries chronological with the most recent experiences coming first followed by past experiences.

Final outcome of the interviewSelected

Skills evaluated in this interview

Top trending discussions

View All
Salary Discussions, Hike & Promotions
2w
a senior executive
GF salary Vs. My salary
Me and my gf have been dating for 5 years. Back in 2020, I started my career with a package of ₹5 LPA. Over the years, I’ve reached ₹22 LPA in 2025. She started her journey with ₹3 LPA(2020) and is now earning ₹8 LPA(2025). We’ve been in a live-in relationship for around 2 years, and the idea was to share expenses equally. But, equal sharing never really happened. If we go to a café she likes, especially with friends, I will pay the entire bill. We only split the house rent and grocery bills. I told her lots of time to cut down these costly cafe expenses or earn more money, increase your package, study and work hard, but.....she is now in her comfort zone. Being from a tech background, I have seen people upgrade their skills and package for a good life in metro cities. I am ready to support her in her studies, but she is like I am earning enough for myself.... No, you are not. I love her, but I don't know how to overcome this issue between us. Please suggest!
Got a question about Lenskart?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview before Sep 2020.

Round 1 - Video Call 

(1 Question)

Round duration - 1hour
Round difficulty - Hard

  • Q1. 

    Snake and Ladder Problem Statement

    Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, f...

  • Ans. 

    Find the minimum number of dice throws required to reach the last cell on a 'Snake and Ladder' board.

    • Use Breadth First Search (BFS) algorithm to find the shortest path from start to end cell.

    • Keep track of visited cells and the number of dice throws required to reach each cell.

    • Consider the presence of snakes and ladders while calculating the next possible moves.

    • Return the minimum number of dice throws to reach the last ...

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 1hour
Round difficulty - Hard

  • Q1.  Stack using queue

    Mvvm architecture

  • Ans. 

    Implement a stack using a queue in MVVM architecture

    • Use two queues to simulate a stack

    • Push operation: Enqueue the element to queue 1

    • Pop operation: Dequeue all elements from queue 1 to queue 2, dequeue the last element from queue 2 (which is the top of the stack)

    • Ensure proper synchronization between the two queues

    • Example: Push(1), Push(2), Pop() should return 2

  • Answered by AI
Round 3 - HR 

Round duration - 1hour
Round difficulty - Easy

Interview Preparation Tips

Eligibility criteriaNo year gapBig Basket interview preparation:Topics to prepare for the interview - Core Java, android topics , Hacker coding test , ecommerce domain knowledge, data structure , algorithmsTime required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : be confident
Tip 2 : always say truth about your experience
Tip 3 : don't be nervous

Application resume tips for other job seekers

Tip 1 : mentioned project u worked on 
Tip 2 : technical skills

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions Asked at Other Companies

asked in Walmart
Q1. Maximum Frequency Number Problem Statement Given an array of inte ... read more
Q2. Reverse String Operations Problem Statement You are provided with ... read more
asked in KhataBook
Q3. Alien Dictionary Problem Statement Ninja is mastering an unusual ... read more
asked in Atlassian
Q4. K Most Frequent Words Problem Statement Given an array of N non-e ... read more
asked in DP World
Q5. Count Ways To Reach The N-th Stair Problem Statement You are give ... read more

SDE-2 Interview Questions & Answers

Zepto user image Anonymous

posted on 3 Jul 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Minimum cost to connect the ropes
  • Ans. 

    The minimum cost to connect the ropes is calculated by repeatedly connecting the two smallest ropes until all ropes are connected.

    • Sort the ropes in ascending order.

    • Repeatedly connect the two smallest ropes.

    • Add the cost of connecting the two ropes to the total cost.

    • Continue this process until all ropes are connected.

  • Answered by AI
  • Q2. Max value of arr[i]+arr[j]+i-j
  • Ans. 

    The question asks for the maximum value of arr[i]+arr[j]+i-j for given array arr.

    • Iterate through all possible pairs of i and j in the array

    • Calculate the value of arr[i]+arr[j]+i-j for each pair

    • Keep track of the maximum value found

  • Answered by AI

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

Zepto user image Anonymous

posted on 26 Jul 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Map based easy question
  • Q2. Priority based heap question

SDE-2 Interview Questions & Answers

Flipkart user image Shubham Jain

posted on 14 Jan 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed in Aug 2022. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

2 Coding questions both easy-medium level.
1. Based on the Sliding Window
2. Graph Question

Round 3 - Assignment 

A simple feed platform, which supports some basic functionality. The main point of this round was to see how well a candidate architect the application.

Round 4 - One-on-one 

(4 Questions)

  • Q1. Basic discussion around the project & past experience.
  • Q2. Design a 2/3rd Winning game.
  • Q3. Discussion around how would you scale a application.
  • Ans. 

    Scaling an application involves optimizing performance, managing load, and ensuring reliability as user demand increases.

    • Horizontal scaling: Add more machines to distribute load (e.g., using load balancers).

    • Vertical scaling: Upgrade existing machines with more resources (CPU, RAM).

    • Database sharding: Split databases into smaller, more manageable pieces to improve performance.

    • Caching strategies: Use caching layers (e.g.,...

  • Answered by AI
  • Q4. NoSQL vs SQL difference
Round 5 - One-on-one 

(3 Questions)

  • Q1. Hiring Manager round
  • Q2. Basic discussions around past work, past processes, what are your future aspirations etc.
  • Q3. This round was mainly for seeing the culture fitment of a candidate.

Interview Preparation Tips

Topics to prepare for Flipkart SDE-2 interview:
  • Data Structures
  • Algorithms
  • System Design
  • Microservices
  • Java
  • Spring Boot
Interview preparation tips for other job seekers - Prepare well for Data structures & Algorithms.
Along with that, you should be well-versed in System design concepts.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Coding Test 

That is machine coding round, where one problem will be given and you have to implement proper functionality with correct test cases.

I appeared for an interview in May 2021.

Round 1 - Coding Test 

Round duration - 120 minutes
Round difficulty - Medium

it was morning 10AM-12
friendly environment given by the interviewer
It was machine coding round, the problem statement was to create a online food ordering system with various features.
interviewer was good and supportive

Round 2 - Video Call 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

timing noon 3-4Pm
good interviewer 
interviwer was giving hints if required and all

  • Q1. 

    Problem: Sort an Array of 0s, 1s, and 2s

    Given an array/list ARR consisting of integers where each element is either 0, 1, or 2, your task is to sort this array in increasing order.

    Input:

    The input sta...
  • Ans. 

    Sort an array of 0s, 1s, and 2s in increasing order.

    • Use a three-pointer approach to sort the array in a single pass.

    • Initialize three pointers for 0, 1, and 2 values and iterate through the array.

    • Swap elements based on the values encountered to achieve the sorted array.

    • Example: Input array [0, 2, 1, 1] should be sorted as [0, 1, 1, 2].

  • Answered by AI
  • Q2. 

    Maximum Path Sum Problem Statement

    You are given an n-ary tree consisting of 'N' nodes. Your task is to determine the maximum sum of the path from the root to any leaf node.

    Example:

    Input:
    For the giv...
  • Ans. 

    Find the maximum sum of the path from the root to any leaf node in an n-ary tree.

    • Traverse the tree from root to leaf nodes, keeping track of the sum along the path.

    • At each node, calculate the sum of the path from the root to that node and update the maximum sum found so far.

    • Consider using depth-first search (DFS) to traverse the tree efficiently.

    • Handle cases where nodes are absent (-1) by appropriately updating the pat...

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 90 Minutes
Round difficulty - Easy

evening 4-5:30PM
interviewer was good
very supportive and giving hints

  • Q1. Design a system for BookMyShow to allow users to book movie tickets.
  • Ans. 

    Design a system for BookMyShow to allow users to book movie tickets.

    • Create a user-friendly website and mobile app for users to browse movies and showtimes.

    • Implement a secure payment gateway for users to purchase tickets online.

    • Develop a database to store movie information, showtimes, and user bookings.

    • Include features like seat selection, ticket confirmation, and booking history for users.

    • Integrate with cinema partners...

  • Answered by AI
Round 4 - HR 

(2 Questions)

Round duration - 40 Minutes
Round difficulty - Easy

4-5 PM
Interviewer was good

  • Q1. Why should we hire you?
  • Q2. Why are you considering a switch in your job?
  • Ans. 

    I'm seeking new challenges and opportunities for growth that align with my career goals and aspirations.

    • Desire for professional growth: I'm looking for a role that offers more responsibilities and opportunities to lead projects.

    • Interest in new technologies: I want to work with cutting-edge technologies that can enhance my skills and knowledge.

    • Cultural fit: I'm seeking a company culture that aligns more closely with my ...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in BangaloreEligibility criteriano criteriaFlipkart interview preparation:Topics to prepare for the interview - Data Structures, DBMS, OOPS, System Design, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Practice Atleast 200 Questions
Tip 2 : Practice company specific interview question
Tip 3 : Prepare resume nicely

Application resume tips for other job seekers

Tip 1 : Prepare resume very nicely.
Tip 2 : don't mention any tech stack you are confident of.

Final outcome of the interviewSelected

Skills evaluated in this interview

Are these interview questions helpful?

SDE-2 Interview Questions & Answers

Flipkart user image ankur kumar

posted on 1 Feb 2023

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
Not Selected

I applied via Referral and was interviewed in Jan 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Assignment 

This was a machine coding round in which we have to implement an online cab booking service.

Round 3 - Coding Test 

Standard problem solving round consists of two questions on tree and dp.

Interview Preparation Tips

Interview preparation tips for other job seekers - 1.Do not take input as given,focus on implementing the services first.Take comma separated input also.

I applied via Referral and was interviewed in May 2017. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What Is job timing
  • Ans. 

    Job timing refers to the specific hours and schedule an employee is expected to work.

    • Job timing can vary by industry; for example, retail jobs may require evening and weekend shifts.

    • In corporate settings, standard job timing is often 9 AM to 5 PM, Monday to Friday.

    • Flexible job timing allows employees to choose their hours, promoting work-life balance.

    • Some jobs, like healthcare, may require shift work, including nights ...

  • Answered by AI
  • Q2. What is salray cycl
  • Ans. 

    Salary cycle refers to the frequency at which employees are paid, such as weekly, bi-weekly, or monthly.

    • Salary cycle can vary depending on the company's policies and practices.

    • Common salary cycles include weekly, bi-weekly (every two weeks), semi-monthly (twice a month), and monthly.

    • Some companies may also offer different salary cycles for different employee groups, such as hourly vs. salaried employees.

    • Understanding t...

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: I do have 5yrs exp in sales i used to worked with many big company

General Tips: I gave interview coz of my skill as per my skill i got selected
Skills: Gd&t Symbols, Sales, Communication, Body Language, Problem Solving, Leadership, Presentation Skills, Time Management, Decision Making Skills
Duration: <1 week

I applied via Referral and was interviewed before Mar 2017. There were 6 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Interview taken by hr
  • Q2. Myself, previous company, Experience

Interview Preparation Tips

Round: Test
Experience: Aptitude test

Round: Resume Shortlist
Experience: I had given interview infront of Naveen Kumar Gagwani.
He short listed my cv

Round: Case Study Interview
Experience: The interviewer asked me
Can you sell me a mobile
And I sold him.

General Tips: It's has a selection procedure.
You can attend interview with good level of confidence.
Skills: MARKETING APTITUDE, Marketing, Communication, Body Language, Problem Solving, Analytical Skills, Presentation Skills
Duration: <1 week

Tell us how to improve this page.

Join Lenskart Do More, Be More

SDE-2 Interview Questions from Similar Companies

Flipkart SDE-2 Interview Questions
3.9
 • 4 Interviews
Ola Cabs SDE-2 Interview Questions
3.3
 • 3 Interviews
Zepto SDE-2 Interview Questions
3.5
 • 2 Interviews
Uber SDE-2 Interview Questions
4.2
 • 2 Interviews
OLX SDE-2 Interview Questions
3.8
 • 1 Interview
View all
Lenskart SDE-2 Salary
based on 4 salaries
₹20 L/yr - ₹22.3 L/yr
36% less than the average SDE-2 Salary in India
View more details
Optometrist
952 salaries
unlock blur

₹1.8 L/yr - ₹5.2 L/yr

Store Manager
915 salaries
unlock blur

₹2.5 L/yr - ₹6 L/yr

Sales Executive
573 salaries
unlock blur

₹1.2 L/yr - ₹4.5 L/yr

Sales Associate
394 salaries
unlock blur

₹1.2 L/yr - ₹4.2 L/yr

Assistant Manager
281 salaries
unlock blur

₹4 L/yr - ₹16 L/yr

Explore more salaries
Compare Lenskart with

Flipkart

3.9
Compare

Indiamart Intermesh

3.6
Compare

Udaan

3.9
Compare

BigBasket

3.9
Compare
write
Share an Interview