All company sheets
Lenskart DSA interview questions
17 problems to practise before your Lenskart online test or coding round. Most widely asked first.
17
Questions
4
Easy
9
Medium
4
Hard
Likely asked. Problems that match the style and topics this company is known to test. These are Astra’s own tags, not an official question list.
17 questions
- 1
Find the Maximum Number of Consecutive Ones
EasyArrayTagged at 7 companies - 2
Maximize Stolen Money from House Robber in a Binary Tree
MediumRecursionTagged at 7 companies - 3
Merge Overlapping User Accounts (Accounts Merge)
MediumRecursionTagged at 7 companies - 4
DNA Sequence Mutation Analyzer
MediumSliding WindowTagged at 7 companies - 5
NLP Text Analyzer Vowels
MediumSliding WindowTagged at 7 companies - 6
Convert Binary Number in a Linked List to Integer
EasyLinkedListTagged at 6 companies - 7
Design a Stack using a Doubly Linked List
EasyLinkedListTagged at 6 companies - 8
Check if a Linked List is Identical to Another
EasyLinkedListTagged at 6 companies - 9
Find the Minimum Cost Tree From Leaf Values
MediumStack and QueueTagged at 6 companies - 10
Sort a Linked List Using Merge Sort
MediumLinkedListTagged at 6 companies - 11
Find the Duplicate Number in an Array (Cycle Detection Method)
MediumLinkedListTagged at 6 companies - 12
Implement a Trie (Prefix Tree) - StartsWith
MediumTreeTagged at 6 companies - 13
Find Maximum Running Time of N Computers
HardBinary SearchTagged at 6 companies - 14
Find the Latest Step to Form a Group of Size M
HardBinary SearchTagged at 6 companies - 15
Encode and Decode TinyURL
MediumDesignTagged at 5 companies - 16
Find All Words in a 2D Board (Trie + DFS)
HardTreeTagged at 5 companies - 17
Find the Binary Tree Maximum Path Sum (Amazon/Apple)
HardTreeTagged at 5 companies