Upload Button Icon Add office photos
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

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 was interviewed 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

Interview questions from similar companies

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.
  • Ans. 

    Design a 2/3rd Winning game.

    • The game should have a clear win condition

    • The win condition should be achievable in 2/3rd of the total game time

    • The game should have a balanced difficulty level

    • The game should have a clear feedback system for the player

    • Examples: Chess, Tic Tac Toe, Connect Four

  • Answered by AI
  • Q3. Discussion around how would you scale a application.
  • Q4. NoSQL vs SQL difference
  • Ans. 

    NoSQL is non-relational and schema-less while SQL is relational and has a fixed schema.

    • NoSQL databases are horizontally scalable and can handle large amounts of unstructured data.

    • SQL databases are vertically scalable and are better suited for structured data with complex relationships.

    • NoSQL databases are often used in web applications, while SQL databases are commonly used in enterprise applications.

    • Examples of NoSQL d...

  • Answered by AI
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

I was interviewed 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?

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

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:
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 - 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.
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 applied via Company Website and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. About previous work experience
  • Q2. About process improvements

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview is quiet tough

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

Interview Questionnaire 

2 Questions

  • Q1. What Is job timing
  • 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

I applied via Naukri.com and was interviewed before Mar 2017. There were 4 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. About Previous profile. The challenges in professional life
  • Q2. How long you would like to work in the company
  • Ans. 

    I am looking to establish a long-term career with the company and grow professionally.

    • I am committed to contributing to the company's success for the foreseeable future

    • I am eager to take on new challenges and responsibilities within the organization

    • I value stability and growth opportunities in my career

  • Answered by AI
  • Q3. About CTC

Interview Preparation Tips

Round: Resume Shortlist
Experience: Based on education and previous work experience.

Skills: Communication, Body Language, Analytical Skills, Presentation Skills
Duration: >3 Months

I applied via Campus Placement and was interviewed in May 2019. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. Tell me about yourself?
  • Q2. How to sell pen
  • Ans. 

    To sell a pen, highlight its unique features and benefits, and show how it can solve a customer's problem.

    • Ask the customer about their needs and how they use pens

    • Highlight the pen's unique features, such as a comfortable grip or smooth ink flow

    • Explain how the pen can solve the customer's problem, such as helping them write more neatly or quickly

    • Offer a demonstration of the pen's features and benefits

    • Create a sense of u...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep Calm and don't be nervous. And listen the questions carefully. And then answer in your way.

Tell us how to improve this page.

Interview Questions from Similar Companies

Flipkart Interview Questions
4.0
 • 1.4k Interviews
Swiggy Interview Questions
3.8
 • 439 Interviews
BigBasket Interview Questions
3.9
 • 357 Interviews
Udaan Interview Questions
3.9
 • 335 Interviews
JustDial Interview Questions
3.5
 • 329 Interviews
CARS24 Interview Questions
3.6
 • 328 Interviews
Info Edge Interview Questions
3.9
 • 321 Interviews
Square Yards Interview Questions
4.0
 • 199 Interviews
Uber Interview Questions
4.2
 • 168 Interviews
View all
Lenskart SDE-2 Salary
based on 4 salaries
₹12 L/yr - ₹22.3 L/yr
52% less than the average SDE-2 Salary in India
View more details
Store Manager
1.2k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Optometrist
869 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Sales Executive
541 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Sales Associate
330 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Assistant Manager
255 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Lenskart with

Coolwinks Technologies

3.8
Compare

Specsmakers Opticians

3.8
Compare

Titan Eye Plus

4.3
Compare

GKB Opticals

4.3
Compare
Did you find this page helpful?
Yes No
write
Share an Interview