Happiest Minds interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Happiest Minds
upvote
share-icon
3 rounds | 14 Coding problems

Interview preparation journey

expand-icon
Journey
Starting with a passion for technology, I focused on mastering Python and diving deep into data structures and algorithms (DSA). I dedicated countless hours to solving coding challenges and building projects, which solidified my understanding. By participating in hackathons and coding competitions, I improved my problem-solving skills and gained confidence. When preparing for interviews, I practised daily, reviewed system design concepts, and simulated mock interviews. This consistent effort and enthusiasm for software development helped me crack the interview and secure my dream job. My journey shows that dedication and continuous learning are key to success in the software industry.
Application story
I applied for the position of SDE-1 at Happiest Minds through my college's campus placement program. The application process began with submitting my resume and academic details through the college's placement portal. Happiest Minds shortlisted candidates based on their academic performance and resume. After the shortlisting, I took an aptitude test that assessed my logical reasoning, quantitative skills, and verbal ability. Once I passed the aptitude test, I was invited to participate in the interview process, which included technical and HR interviews. The process was well-organized and communicated through the campus placement cell, ensuring all candidates were well informed and prepared for each stage.
Why selected/rejected for the role?
I was selected for the role because of my strong foundation in Python and data structures, demonstrated problem-solving skills, and ability to effectively communicate my thought process during the interview. Additionally, my participation in projects and hackathons showcased my practical experience and enthusiasm for software development. This combination of technical knowledge and real-world application impressed the interviewers and contributed to my selection.
Preparation
Duration: 4 months
Topics: Data structures and algorithms (DSA), object-oriented programming (OOP), Python, DBMS, HTML, CSS.
Tip
Tip

Tip 1: Practice solving at least 250 coding problems. 

Tip 2: Build at least two projects to showcase your skills. 

Tip 3: Regularly review the core concepts of Python, HTML, CSS, and OOP.

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

Tip 1: Add as many projects as you can. 

Tip 2: Do not include false information on your resume.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date15 Sep 2022
Coding problem5

1. Logical Reasoning

Problem Statement:
You are given three statements:

All students in the class are either engineers or doctors.
Some engineers are girls.
No doctor is a girl.
What can you conclude from these statements?

Problem approach

Tip 1: Understand the problem statement. Read it multiple times if necessary to grasp all the details.
Tip 2: Break down the problem into smaller parts or steps. This helps in understanding the problem better and solving it systematically.
Tip 3: If applicable, visualize or draw diagrams to represent the problem. This can often provide insights into possible solutions.

2. Quantitative Analysis

A tank can be filled by one tap in 10 hours and by another tap in 15 hours. Both taps are opened together, but after 4 hours the first tap is turned off. How much longer will the tank take to fill?

Problem approach

Tip 1: Understand the problem statement. Read it multiple times if necessary to grasp all the details.
Tip 2: Break down the problem into smaller parts or steps. This helps in understanding the problem better and solving it systematically.
Tip 3: If applicable, visualize or draw diagrams to represent the problem. This can often provide insights into possible solutions.

3. Verbal ability

Choose the word that is most nearly opposite in meaning to the word 'parsimonious':
a) Generous
b) Stingy
c) Thrifty
d) Miserly

Problem approach

Tip 1: Understand the problem statement. Read it multiple times if necessary to grasp all the details.
Tip 2: Break down the problem into smaller parts or steps. This helps in understanding the problem better and solving it systematically.
Tip 3: If applicable, visualize or draw diagrams to represent the problem. This can often provide insights into possible solutions.

4. Aptitude

A train travels 60 km at a uniform speed. If the speed had been 4 km/hr more, it would have taken 10 minutes less. Find the original speed of the train.

Problem approach

Tip 1: Understand the problem statement. Read it multiple times if necessary to grasp all the details.
Tip 2: For problems involving multiple steps or decisions, outline a clear plan or algorithm before starting to implement.
Tip 3: If the problem involves calculations, verify your computations to avoid errors.

5. Maximum Subarray Sum

Moderate
25m average time
75% success
0/80
Asked in companies
SquadstackAmazonRazorpay

Given an array of integers, find the contiguous subarray (containing at least one number) that has the largest sum and return its sum. Implement the function maxSubArray(nums: List[int]) -> int to solve this problem.

Problem approach

Tip 1: Use examples or sample cases to validate your understanding of the problem and to test your solution.
Tip 2: Break down the problem into smaller parts or steps. This helps in understanding the problem better and solving it systematically.
Tip 3: Consider edge cases or special scenarios that might affect your solution. Ensure your solution is robust enough to handle these cases.

Try solving now
02
Round
Medium
Video Call
Duration50 minutes
Interview date25 Sep 2022
Coding problem4

The interview was scheduled in the afternoon, providing a conducive and focused environment. The setting was professional, with good lighting and minimal distractions. Before the interview, I reviewed my notes to prepare mentally. The interviewer was friendly and professional, which helped alleviate any nerves. They asked insightful questions and engaged in a constructive discussion about my background and experience.

1. DSA Trees

Explain the difference between inorder, preorder, and postorder traversals of a binary tree. Provide an example of each traversal method and discuss their applications in tree data structures. (Learn)

Problem approach

Tip 1: Revise the concepts thoroughly.
 

2. Two sum

Easy
10m average time
90% success
0/40
Asked in companies
Chegg Inc.FacebookAmazon

Given an array of integers, find the two numbers such that they add up to a specific target sum. Return the indices of the two numbers as a tuple. You may assume that each input would have exactly one solution, and you may not use the same element twice.

Problem approach

Step 1: I started by understanding the problem statement, which was to determine if a given string is a palindrome, ignoring non-alphanumeric characters and considering case-insensitively.

Step 2: My initial approach was to use Python's string manipulation functions to preprocess the string. I used str.lower() to convert all characters to lowercase and str.isalnum() to filter out non-alphanumeric characters.

Step 3: After preprocessing the string, I used two pointers approach to check if the string was a palindrome. One pointer started from the beginning and the other from the end of the string, moving towards each other, checking if characters at these pointers were equal.

Step 4: I wrote the code to implement this approach. First, I preprocessed the string to remove non-alphanumeric characters and convert it to lowercase. Then, I used two pointers technique to check if it's a palindrome.

Try solving now

3. DBMS

What is a join in SQL? Explain different types of joins with examples. (Learn)

Problem approach

Tip 1: Learn concepts in depth.
Tip 2: Always try to give examples to be more effective.
 

4. DBMS

Explain the difference between a primary key and a foreign key in a relational database (Learn)

Provide an example scenario where each key would be used and their significance in maintaining data integrity.

Problem approach

Tip 1: Learn concepts and practice on them.
Tip 2: Try to give examples to the interviewer to be more effective.

03
Round
Medium
HR Round
Duration50 minutes
Interview date27 Sep 2022
Coding problem5

1. HR question

Tell me about yourself.

 

 

Problem approach

Tip 1: Provide a brief overview of your background, education, and professional experience.
 

2. HR question

Why are you interested in this position at our company?

Problem approach

Tip 1: Explain why you are excited about the opportunity and how it aligns with your career goals.
 

3. HR question

Can you describe a challenging situation you faced at work or in a team project? How did you handle it?

Problem approach

Tip 1: Provide an example of a difficult scenario you successfully navigated, emphasizing your problem-solving skills and teamwork.
 

4. HR question

What are your strengths and weaknesses?

Problem approach

Tip 1: Discuss your key strengths that are relevant to the position and how you manage or overcome your weaknesses.

5. HR question

You have 8 balls. Seven of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance and only two weighings?

Problem approach

Tip 1: Divide the balls into two groups of three and one group of two. Weigh the two groups of three against each other. If they balance, the heavier ball is in the group of two. If one group is heavier, pick two balls from that group and weigh them against each other. The heavier one is the heavier ball.
 

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 - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 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
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6261 views
3 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by BNY Mellon
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
2159 views
0 comments
0 upvotes