Leena AI interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Leena AI
upvote
share-icon
3 rounds | 9 Coding problems

Interview preparation journey

expand-icon
Journey
I started my DSA journey in the second year of my graduation. I solved questions on coding platforms, completing over 1,000 DSA questions and participating in contests. However, DSA is not the only path to cracking a company, so I also studied computer fundamentals like OOP, DBMS, OS, and CN. Since most startups focus on development, I built some projects in web development using the MERN stack.
Application story
I applied on campus and took an online assessment that included some DSA questions. I solved all of them within the given time. After that, I was shortlisted for the interview, which included three rounds: two technical and one HR.
Why selected/rejected for the role?
I was selected for this role because I cleared all the rounds. I also have some strong AI projects on my resume.
Preparation
Duration: 20 months
Topics: Data Structure, OOP, DBMS, Computer Networks, Operating System, ReactJS, MongoDB, NodeJS, SQL
Tip
Tip

Tip 1: Be consistent in solving DSA questions daily (aim for 500 total).
Tip 2: Try to solve a question before jumping to the solution.
Tip 3: To learn development, don’t just watch tutorials—build as many projects as you can.

Application process
Where: Campus
Eligibility: 7+ CGPA
Resume Tip
Resume tip

Tip 1: Focus on good projects, excluding basic clone apps or to-do lists.
Tip 2: Participate in hackathons or contribute to open-source projects.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date15 Dec 2023
Coding problem3

There was 30 minutes login window. All 3 questions have a medium level. The camera and mic were on with the screen shared.

1. Path with Maximum Gold

Moderate
25m average time
75% success
0/80
Asked in companies
Goldman SachsLeena AI

You’re given a 2 dimensional array 'GRID' of N * M size, representing a Gold mine. Each cell of this grid contains an integer that represents the amount of gold present in that cell.

Your task is to return the maximum amount of gold you can collect using the following conditions:

1. Every time you reach a cell, you collect all the gold present in that cell.


2. You can go one step left, right, up, or down from your current cell’s position.

3. You can’t visit the cell which you have already visited.

4. You can’t visit a cell with 0 gold.

5. You can choose any cell to start and stop collecting gold.
Problem approach

Tip 1: Read the question properly. 
Tip 2: Prepare DP and do BFS.
 

Try solving now

2. Minimizing Memory Usage After Removing Contiguous Processes

Given a list of processes where each value represents the memory consumption of a process and a variable mmm represents the number of processes to be removed, we need to delete mmm contiguous processes from the list and return the minimum amount of main memory used by the remaining processes.

3. Count Pairs

Moderate
25m average time
65% success
0/80
Asked in companies
FacebookAmazonTwitter

Given an array arr[] of size N and an integer X, the task is to find the number of ordered pairs (i, j) such that i != j and X is the concatenation of the numbers arr[i] and arr[j]

Problem approach

Tip 1: Read the question thoroughly 
Tip 2: Try to apply a hash map
 

Try solving now
02
Round
Medium
Face to Face
Duration45 minutes
Interview date22 Dec 2023
Coding problem3

Two DSA questions were asked by the interviewer and after that, some questions on indexing and deadlock were asked.

1. Find Number Of Islands

Moderate
34m average time
60% success
0/80
Asked in companies
MicrosoftAmazonUber

Given a binary 2D matrix, find the number of islands. A group of connected 1s forms an island.

Problem approach

Tip 1: Listen to the question carefully.
Tip 2: Ask for the constraints and limits.
Tip 3: Speak what you think.

Try solving now

2. Count Subarrays

Easy
15m average time
85% success
0/40
Asked in companies
AdobeMicrosoftLeena AI

Given an array of n integers. Count the total number of sub-arrays having total distinct elements, the same as that of the total distinct elements of the original array.

Problem approach

Tip 1: Try brute force first. 
Tip 2: Then try to optimise the solution using a hashmap.
 

Try solving now

3. DBMS

Asked about the types of indexing and how indexing can be applied. (Learn)

Problem approach

Tip 1: Have a basic knowledge of DBMS.
 

03
Round
Easy
HR Round
Duration10 minutes
Interview date25 Dec 2023
Coding problem3

Asked about basic HR questions and projects in my resume.

1. HR question

Where do you see yourself in 5 years?

Problem approach

Tip 1: Be honest
 

2. HR question

What tech stack did you use in your project?

Problem approach

Tip 1: Have a good knowledge of your project. 
 

3. HR question

What are the challenges did you face while making your project?

Problem approach

Tip 1: Prepare all these types of questions before giving the HR round.
 

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
company logo
SDE - 1
5 rounds | 11 problems
Interviewed by Leena AI
463 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes