Techmojo solutions interview experience Real time questions & tips from candidates to crack your interview

Member of Technical Staff

Techmojo solutions
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I had been preparing for this campus drive for the past week, giving it my all every single day. From revising technical concepts to practicing mock interviews, I pushed myself harder than ever before. The thought of achieving this goal kept me motivated. it was the highest package our batch had ever seen. As the day approached, I felt a mix of nervousness and excitement, but deep down, I believed I could do it. Walking into the interview room, I carried all my hard work, dreams, and determination. It wasn’t just a drive. it was my moment to prove myself.
Application story
When the campus drive for the highest package was announced, I knew this was my chance to prove myself. I immediately started preparing, dedicating long hours every day to mastering DSA, revising core subjects, and practicing mock interviews. Each challenge I solved boosted my confidence, and I could feel myself improving. I carefully crafted my resume, highlighting projects and achievements that reflected my skills. As the application deadline approached, I submitted it with both excitement and nervousness. This was more than just an application. it was the result of my hard work, determination, and belief that I was ready for this opportunity.
Why selected/rejected for the role?
I was not selected for the role because, during the second round, which was a face-to-face DSA round, I couldn’t perform up to my full potential. Out of the two DSA questions and one SQL question asked, I was able to solve most parts correctly, but I failed to fully execute and optimize one of the DSA problems. This affected my overall performance and evaluation. Although it was disappointing, the experience helped me understand the importance of optimizing solutions and staying calm under pressure. It motivated me to practice more and improve my problem-solving and time management skills.
Preparation
Duration: 1 month
Topics: Data structures and Algorithms, DBMS, SQL, Java, Spring Boot, OOPs
Tip
Tip

Tip 1: Practice DSA questions daily on online platforms to build consistency and confidence.
Tip 2: Focus on strengthening your fundamentals and revisiting key technical subjects relevant to the role.
Tip 3: Simulate real interview conditions to build confidence and improve communication and problem-solving skills.

Application process
Where: Campus
Eligibility: B-tech (CSE) with 7.5 CGPA and no active backlogs, (Salary package: 10 LPA)
Resume Tip
Resume tip

Tip 1:Focus on technical skills, projects, and achievements that align with the job role to grab the recruiter’s attention quickly.
Tip 2: Use a clean format, limit your resume to one page, and use bullet points for readability — clarity makes a strong first impression
Tip 3: Mention only the skills that you are confident about and be genuine in resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date4 Sep 2025
Coding problem2

The first round of the selection process was an online coding test conducted on HackerRank. It included two DSA (Data Structures and Algorithms) questions designed to evaluate problem-solving ability and coding efficiency. The questions tested concepts like arrays, strings, and recursion, along with time and space optimization. The round was time-bound, which made it important to balance speed with accuracy. I focused on writing clean, efficient code and ensuring all test cases passed successfully. This round was a great opportunity to apply my preparation and showcase my logical thinking and coding skills in a real assessment environment.

1. Find the Number of Provinces

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonSamsung R&D InstituteIntuit

You are given ‘n’ cities, some of which are connected by bidirectional roads. You are also given an ‘n x n’ matrix i.e. ‘roads’, where if city ‘i’ and ‘j’ are connected by a road then ‘roads[i][j]'= 1, otherwise ‘roads[i][j]' = 0.


A province is a group of cities that are either directly or indirectly connected to each other through roads.


The goal is to count and return the total number of such provinces in the given matrix.


Example:
n = 4, roads = [ [1, 1, 1, 0],
                 [1, 1, 1, 0],
                 [1, 1, 1, 0],
                 [0, 0, 0, 1] ]

example

So, there are ‘2’ provinces.
Note:
1. A city is connected to itself. So, for every city ‘i’, ‘roads[i][i] = 1’.
Problem approach

1) Create a visited array of size V, initialized to False.
2) Initialize count = 0.
3) For each vertex i from 0 to V-1:
4) If visited[i] is False, that vertex starts a new province: increment count.
5) Run a graph traversal (DFS or BFS or Union-Find) from i to mark all vertices in the same component as visited.
6) after the loop, count is the number of provinces.

Try solving now

2. Optimal Team Formation

Easy
0/40

A coach is forming a new team of size K from a pool of N available players. Each player has a skill rating, given as an integer. The coach wants to form the most cohesive team possible.


Team Cohesion is defined as the difference between the highest and lowest skill ratings of the players on the team. A smaller difference indicates better cohesion.


Your task is to find the minimum possible cohesion score for a team of size K. To do this, you will need to find a group of K players from the pool whose maximum and minimum skill ratings are as close as possible.


Try solving now
02
Round
Medium
Face to Face
Duration75 minutes
Interview date5 Sep 2025
Coding problem3

The second round was a face-to-face DSA interview conducted at the company’s location. It was an interactive and in-depth technical discussion designed to test my problem-solving skills and analytical thinking. The interviewer asked me two DSA questions and one SQL query. The DSA questions focused on concepts like graph traversal and array manipulation, where I had to write optimized code and explain my approach clearly. The SQL question tested my ability to handle data retrieval and query optimization. The interviewer also asked follow-up questions to understand my logic and thought process, making it a highly insightful and learning experience.

1. Move Zero's to End

Easy
15m average time
78% success
0/40

Given an array 'arr' of 'n' non-negative integers, your task is to move all the zeros to the end of the array while keeping the non-zero elements at the start of the array in their original order. Return the modified array.


Example :
Input: ‘n’ = 5, ‘arr’ = [1, 2, 0, 0, 2, 3]
Output: [1, 2, 2, 3, 0, 0]

Explanation: Moved all the 0’s to the end of an array, and the rest of the elements retain the order at the start.
Problem approach

the given array is {1, 0, 2, 3, 2, 0, 0, 4, 5, 1}. Now, initially, we will place the 2-pointers like the following:
First, we iterate through the array to locate the position of the first zero, using a pointer j. If no zero is found, no further steps are needed.
Next, we set a second pointer i to j + 1 and start moving it forward through the array.
While moving i, whenever we encounter a non-zero element a[i], we swap it with the element at index j. After the swap, since j now holds a non-zero value, we increment j to point to the next zero.

Try solving now

2. Asteroid Collision

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonDunzoMicrosoft

You are given an array/list 'asteroids' representing asteroids in a row.


For each element of the given array, its absolute value denotes the size of that asteroid, and its sign denotes the direction it moves in(+ve meaning right and -ve meaning left).


An asteroid with a weight of 0 denotes a massless asteroid that moves in the right direction.


All asteroids are moving at the same speed. Whenever two asteroids collide, the smaller asteroid gets destroyed.


If both asteroids are the same size, then both asteroids get destroyed. Two asteroids moving in the same direction never collide.


You are supposed to find the state of the asteroids after all collisions.


Example :
Input: ‘asteroids’ = [3,-2,4]

Output: [3, 4]

Explanation: The first asteroid will destroy the second asteroid. Hence, after the collision, the state of the asteroids will be [3,4].
Note:
You don’t need to print anything. Just implement the given function.
Problem approach

Initialize an empty stack to track asteroids after collisions
Loop through each asteroid in the input array
If the asteroid is moving right, push it onto the stack
If the asteroid is moving left, check for collisions with top elements of the stack
While the top of the stack is a smaller right-moving asteroid, pop it from the stack
If the top of the stack is a right-moving asteroid of equal size, pop it and do not push the current asteroid
If the stack is empty or the top is a left-moving asteroid, push the current asteroid
After the loop ends, return the stack as the final result

Try solving now

3. DBMS

You are given a table named Employees with the following columns:
EmpID (INT)
EmpName (VARCHAR)
Department (VARCHAR)
Salary (INT)
Write an SQL query to find the names of employees who work in the 'IT' department and have a salary greater than 50,000.

Problem approach

Tip 1: Understand the Problem First: Carefully read the question and identify what is being asked before jumping into coding or writing the query.
Tip 2: Break It Down: Divide the problem into smaller parts — handle input, logic, and output separately to simplify implementation.
Tip 3: Think of Edge Cases: Consider scenarios like empty inputs, duplicate values, or large data sets to ensure your solution is robust.

03
Round
Medium
HR Round
Duration60 minutes
Interview date5 Sep 2025
Coding problem1

The HR round was a conversational and personality-based interaction aimed at understanding my attitude, communication skills, and cultural fit for the company. The interviewer started by making me feel comfortable and asked about my background, academic journey, and interests. Then, we discussed my strengths, weaknesses, and how I handle challenges or work under pressure. I was also asked questions about teamwork, leadership experiences, and future goals. Toward the end, the interviewer explained the company’s work culture and expectations. The round focused more on assessing my mindset, confidence, and enthusiasm rather than technical knowledge, making it a pleasant and engaging discussion.

1. HR Questions

  • Tell me about yourself.
  • What are your strengths and weaknesses?
  • Why do you want to work for our company?
  • Where do you see yourself in the next 5 years?
  • Describe a situation where you worked in a team.
Problem approach

Tip 1: Be Confident and Honest: Speak clearly, maintain eye contact, and be genuine with your answers — authenticity leaves a strong impression.
Tip 2: Know the Company: Research the company’s values, culture, and recent achievements to show genuine interest.
Tip 3: Prepare Common Questions: Practice answers for typical HR questions like strengths, weaknesses, and career goals.

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
4656 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
Member of Technical Staff
2 rounds | 2 problems
Interviewed by Techmojo solutions
210 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Member of Technical Staff
4 rounds | 13 problems
Interviewed by Oracle
5377 views
0 comments
0 upvotes
company logo
Member of Technical Staff
3 rounds | 10 problems
Interviewed by Adobe
989 views
0 comments
0 upvotes
company logo
Member of Technical Staff
2 rounds | 5 problems
Interviewed by Oracle
1566 views
0 comments
0 upvotes