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 Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Lenskart Senior Software Engineer Interview Questions and Answers

Updated 12 Feb 2025

Lenskart Senior Software Engineer Interview Experiences

4 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Oct 2023. There were 4 interview rounds.

Round 1 - Coding Test 

It was a simple coding test.

Round 2 - Coding Test 

There was a small coding problem involving oops concepts..

Round 3 - Technical 

(1 Question)

  • Q1. There was a simple System Design problem specifically URLShortener
Round 4 - Technical 

(1 Question)

  • Q1. There was discussion about previous projects

Interview Preparation Tips

Interview preparation tips for other job seekers - The Talent Acquisition team of Lenskart doesn't exactly show much professionalism and pretty much ghost you after an interview. Also they are a hard bargain. The interviewers however were pretty respectful and accommodating.
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Insert node in BST
  • Ans. 

    Insert a node in a Binary Search Tree (BST)

    • Start at the root node and compare the value of the node to be inserted with the current node

    • If the value is less than the current node, move to the left child. If greater, move to the right child

    • Repeat the process until reaching a leaf node, then insert the new node as a left or right child

  • Answered by AI
  • Q2. Design Lift system
  • Ans. 

    Design a lift system for efficient vertical transportation

    • Consider the number of floors in the building

    • Include safety features like emergency stop button

    • Optimize for speed and energy efficiency

    • Implement a user-friendly interface for passengers

  • Answered by AI

Skills evaluated in this interview

Senior Software Engineer Interview Questions Asked at Other Companies

asked in DBS Bank
Q1. Tell me about yourself. What technology are you using? What is a ... read more
asked in GlobalLogic
Q2. MapSum Pair Implementation Create a data structure named 'MapSum' ... read more
asked in UST
Q3. Nth Prime Number Problem Statement Find the Nth prime number give ... read more
asked in Capgemini
Q4. Pascal's Triangle Construction You are provided with an integer ' ... read more
Q5. K Largest Elements Problem Statement You are given an integer k a ... read more
Interview experience
4
Good
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I was interviewed before Feb 2024.

Round 1 - Coding Test 

Creating an Android application.

Round 2 - Technical 

(2 Questions)

  • Q1. Dsa question was asked
  • Q2. Android specific questions
Round 3 - Technical 

(1 Question)

  • Q1. Machine design question

Interview Preparation Tips

Interview preparation tips for other job seekers - Don't join this company if you have good technical skills
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed before Apr 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Basic baba questions and 3 short dsa problems

Round 2 - Coding Test 

System Design interview, was asked to design a system like booking.com

Round 3 - Technical 

(1 Question)

  • Q1. Techo managerial round

Lenskart interview questions for designations

 Software Engineer

 (3)

 Senior Software Developer

 (1)

 Senior Software Engineer 1

 (1)

 Software Developer

 (2)

 Senior Quality Engineer

 (2)

 Softwaretest Engineer

 (1)

 Senior Android Developer

 (1)

 Senior Manager Information Technology

 (1)

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 before May 2023. There were 2 interview rounds.

Round 1 - Aptitude Test 

Its mcqs where we need to answer 25 questions

Round 2 - Technical 

(1 Question)

  • Q1. Knowledge if sql based on experience. Good to know joins well
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed before Jun 2023. There were 4 interview rounds.

Round 1 - Assignment 

Machine coding - design food ordering service,

Round 2 - Technical 

(2 Questions)

  • Q1. Sort array having 0 , 1 and 2. do it in single pass
  • Ans. 

    Use Dutch National Flag algorithm to sort array of 0s, 1s, and 2s in single pass.

    • Initialize three pointers low = 0, mid = 0, high = n-1 where n is the length of the array.

    • Iterate through the array and swap elements based on their values and positions.

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

  • Answered by AI
  • Q2. Given tree and list of nodes to be deleted. return all new trees created after the deletion
  • Ans. 

    Return new trees after deleting specified nodes from a given tree

    • Traverse the tree and delete nodes that match the given list

    • For each deleted node, create a new tree with the remaining nodes

    • Return all new trees created after deletion

  • Answered by AI
Round 3 - system design 

(1 Question)

  • Q1. Design Restaurant management sytem
  • Ans. 

    Restaurant management system to streamline operations, orders, inventory, and customer service.

    • Include features for table management, order processing, menu customization, inventory tracking, and customer feedback.

    • Implement user roles for staff, managers, and administrators with varying levels of access and permissions.

    • Integrate payment processing systems for seamless transactions and reporting.

    • Utilize data analytics t...

  • Answered by AI
Round 4 - Behavioral 

(2 Questions)

  • Q1. Discussed about projects in depth
  • Q2. Question around redis, kafka and all

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare system design nicely.

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Design hld interview asked question
  • Q2. Design lld asked question

I was interviewed before Jan 2021.

Round 1 - Face to Face 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This was a typical DS/Algo where I was asked to solve two questions related to Binary Trees and write the pseudo code for both of them followed by some theoretical questions related to Operating Systems.

  • Q1. 

    K-th Largest Number in a BST

    Given a binary search tree (BST) consisting of integers and containing 'N' nodes, your task is to find and return the K-th largest element in this BST.

    If there is no K-th la...

  • Ans. 

    Find the K-th largest element in a BST.

    • Perform reverse in-order traversal of the BST to find the K-th largest element.

    • Keep track of the count of visited nodes to determine the K-th largest element.

    • Return -1 if there is no K-th largest element in the BST.

  • Answered by AI
  • Q2. 

    Is Height Balanced Binary Tree Problem Statement

    Determine if the given binary tree is height-balanced. A tree is considered height-balanced when:

    1. The left subtree is balanced.
    2. The right subtree is bala...
  • Ans. 

    Determine if a given binary tree is height-balanced by checking if left and right subtrees are balanced and their height difference is at most 1.

    • Check if the left subtree is balanced

    • Check if the right subtree is balanced

    • Calculate the height difference between the left and right subtrees

    • Return 'True' if all conditions are met, otherwise return 'False'

  • Answered by AI
  • Q3. Can you explain the concepts of Zombie Process and Orphan Process in operating systems?
  • Ans. 

    Zombie process is a terminated process that has completed execution but still has an entry in the process table. Orphan process is a process whose parent process has terminated.

    • Zombie process is created when a child process completes execution but its parent process has not yet read its exit status.

    • Zombie processes consume system resources and should be cleaned up by the parent process using wait() system call.

    • Orphan p...

  • Answered by AI
Round 2 - Face to Face 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

This was also a Data Structures and Algorithm round where I was asked to solve 3 medium to hard level problems along with their pseudo code within 60 minutes .

  • Q1. 

    Longest Substring Without Repeating Characters Problem Statement

    Given a string S of length L, determine the length of the longest substring that contains no repeating characters.

    Example:

    Input:
    "abac...
  • Ans. 

    Find the length of the longest substring without repeating characters in a given string.

    • Use a sliding window approach to keep track of the longest substring without repeating characters.

    • Use a hashmap to store the index of each character in the string.

    • Update the start index of the window when a repeating character is found.

    • Calculate the maximum length of the window as you iterate through the string.

    • Return the maximum le

  • Answered by AI
  • Q2. 

    Problem: Search In Rotated Sorted Array

    Given a sorted array that has been rotated clockwise by an unknown amount, you need to answer Q queries. Each query is represented by an integer Q[i], and you must ...

  • Ans. 

    Search for integers in a rotated sorted array efficiently.

    • Use binary search to efficiently search for integers in the rotated sorted array.

    • Handle the rotation of the array while performing binary search.

    • Return the index of the integer if found, else return -1.

  • Answered by AI
  • Q3. 

    Count Subarrays with Sum Divisible by K

    Given an array ARR and an integer K, your task is to count all subarrays whose sum is divisible by the given integer K.

    Input:

    The first line of input contains an...
  • Ans. 

    Count subarrays with sum divisible by K in an array.

    • Iterate through the array and keep track of the prefix sum modulo K.

    • Use a hashmap to store the frequency of each prefix sum modulo K.

    • For each prefix sum, increment the count by the frequency of (prefix sum - K) modulo K.

    • Handle the case when prefix sum itself is divisible by K.

    • Return the total count of subarrays with sum divisible by K.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 50 Minutes
Round difficulty - Medium

In this round , I was asked to code a simple question related to BST . After that I was asked the internal implementation of a Hash Map where I was supposed to design a Hash Map using any of the Hashing Algorithms that I know . This was preety challenging for me but I got to learn so much from it.

  • Q1. 

    Ceil Value from BST Problem Statement

    Given a Binary Search Tree (BST) and an integer, write a function to return the ceil value of a particular key in the BST.

    The ceil of an integer is defined as the s...

  • Ans. 

    Ceil value of a key in a Binary Search Tree (BST) is found by returning the smallest integer greater than or equal to the given number.

    • Traverse the BST to find the closest value greater than or equal to the key.

    • Compare the key with the current node value and update the ceil value accordingly.

    • Recursively move to the left or right subtree based on the comparison.

    • Return the ceil value once the traversal is complete.

  • Answered by AI
  • Q2. 

    Design a Constant Time Data Structure

    Create a data structure that maintains mappings between keys and values, supporting the following operations in constant time:

    1. INSERT(key, value): Add or update t...
  • Ans. 

    Design a constant time data structure to maintain mappings between keys and values with various operations.

    • Use a hash table to achieve constant time complexity for INSERT, DELETE, SEARCH, and GET operations.

    • Keep track of the number of key-value pairs for GET_SIZE operation.

    • Check if the hash table is empty for IS_EMPTY operation.

    • Return true or false for SEARCH operation based on key existence.

    • Return the value associated...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAFlipkart interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 MonthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed before Jan 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 Minutes
Round difficulty - Hard

I found the online coding round of Flipkart to be quite difficult based on the constraints of the problem and their time limits. I coded the first problem quite easily but on the second and the third problem , my code could only pass a few test cases and gave TLE for most of them. Both the questions required very efficient solution and the last 5 to 10 Test Cases carried more weight than the rest so I didn't get through this round.

  • Q1. 

    Print the Kth Digit

    Given three non-negative integers N, M, and K, compute the Kth digit from the right in the number obtained from N raised to the power M (i.e., N ^ M).

    Input:

    The first line contains ...
  • Ans. 

    The task is to find the Kth digit from the right in the number obtained from N raised to the power M.

    • Iterate through the digits of N^M from right to left

    • Keep track of the position of the current digit

    • Return the digit at position K from the right

  • Answered by AI
  • Q2. 

    The Skyline Problem

    Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette when viewed from a distance. Each building is ...

  • Ans. 

    Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette.

    • Iterate through the buildings and create a list of critical points (x, y) where the height changes.

    • Sort the critical points based on x-coordinate and process them to form the skyline.

    • Merge consecutive horizontal segments of equal height into one to ensure no duplicates.

    • Return the fin...

  • Answered by AI
  • Q3. 

    Longest Palindromic Substring Problem Statement

    You are provided with a string STR of length N. The goal is to identify the longest palindromic substring within this string. In cases where multiple palind...

  • Ans. 

    Identify the longest palindromic substring in a given string.

    • Iterate through the string and expand around each character to find palindromes

    • Keep track of the longest palindrome found

    • Return the longest palindrome with the smallest start index

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAFlipkart interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewRejected

Skills evaluated in this interview

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: It was a good one but both questions would have been easy if we know more libraries in java
Tips: Both the questions were related to bigint. It could have been better if both questions were from different areas
Duration: 90 minutes

Round: Technical Interview
Experience: I felt my interview went fine since i was able to answer most of their questions.They gave many hints even if i didn't get the right one
Tips: Everything was fine

Round: HR Interview
Experience: I was able to see myself how i responded to questions asked regarding me and sometimes i was just blabbering
Tips: nothing

General Tips: One must be good at datastrucures and algorithms
Skill Tips: nothing
Skills: Datastructures and Algorithms
Duration: 2
College Name: IIT Madras
Motivation: I wanted to do something for the company where I ordered many of my things
Funny Moments: No funny moments as such but I enjoyed talking to the hr interviewer
Contribute & help others!
anonymous
You can choose to be anonymous

Lenskart Interview FAQs

How many rounds are there in Lenskart Senior Software Engineer interview?
Lenskart interview process usually has 2-3 rounds. The most common rounds in the Lenskart interview process are Technical and Coding Test.
What are the top questions asked in Lenskart Senior Software Engineer interview?

Some of the top questions asked at the Lenskart Senior Software Engineer interview -

  1. Insert node in ...read more
  2. Design Lift sys...read more
  3. There was a simple System Design problem specifically URLShorte...read more

Recently Viewed

INTERVIEWS

Accenture

No Interviews

SALARIES

Paytm Mall

INTERVIEWS

Flipkart

No Interviews

SALARIES

QualityKiosk Technologies

COMPANY BENEFITS

BigBasket

No Benefits

INTERVIEWS

HighRadius

No Interviews

JOBS

QualityKiosk Technologies

No Jobs

INTERVIEWS

alliantgroup

No Interviews

SALARIES

BigBasket

REVIEWS

QualityKiosk Technologies

No Reviews

Tell us how to improve this page.

Lenskart Senior Software Engineer Interview Process

based on 5 interviews

2 Interview rounds

  • Coding Test Round
  • Technical Round
View more
Lenskart Senior Software Engineer Salary
based on 41 salaries
₹11 L/yr - ₹39 L/yr
63% more than the average Senior Software Engineer Salary in India
View more details

Lenskart Senior Software Engineer Reviews and Ratings

based on 4 reviews

2.0/5

Rating in categories

3.0

Skill development

2.0

Work-life balance

1.8

Salary

3.0

Job security

1.4

Company culture

1.2

Promotions

2.2

Work satisfaction

Explore 4 Reviews and Ratings
Store Manager
1.2k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Optometrist
961 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Sales Executive
556 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Sales Associate
336 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Assistant Manager
276 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
Rate your experience using AmbitionBox
Terrible
Terrible
Poor
Poor
Average
Average
Good
Good
Excellent
Excellent