Mamsys World interview experience Real time questions & tips from candidates to crack your interview

Software Developer

Mamsys World
upvote
share-icon
3 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Journey
I was advised by my seniors to practice DSA from the very starting of B.Tech but I did not took that seriously. Honestly speaking, I regretted not taking their advice and in third year I started doing coding and I had to increase practice hours because I started late. But by the end of Third year, I was confident in both DSA and development but even then, I kept on revising the concepts.
Application story
I applied through their website. After almost a week, HR called and confirmed all details and then a week later, interviews were scheduled on Zoom to evaluate on basis of DSA and System design mainly.
Why selected/rejected for the role?
I was selected. Everything was fine, I was asked a question related to shell scripting which I was able to answer correctly. It required some deep knowledge. So always understand every concept in depth and mention only those things in your resume that you are confident about.
Preparation
Duration: 4 months
Topics: Computer Fundamentals, Data Structures and Algorithms, OOPs, DBMS, OS
Tip
Tip

Tip 1 : Participate in live contests on websites like Codechef, Codeforces, etc as much as possible.
Tip 2 : Practice previous interview questions from LeetCode, GeeksForGeeks.
Tip 3 : Revise Computer Science subjects like DBMS, OOPS thoroughly.

Application process
Where: Company Website
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Only write those things in the resume which you are confident of and keep practicing.
Tip 2 : Mention at least 2 projects on different technologies in your resume

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date3 Feb 2022
Coding problem3

This is a written round on paper for everyone. Three coding questions were given. Two out of three must be correct covering every single edge case to qualify for the next round. Only the most optimal solution was to be considered.

1. Maximum Subarray Sum

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

Given an array of numbers, find the maximum sum of any contiguous subarray of the array.


For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since we would take elements 42, 14, -5, and 86.


Given the array [-5, -1, -8, -9], the maximum sum would be -1.


Follow up: Do this in O(N) time.

Problem approach

I used the Kadane algorithm to solve this question and wrote a clean code with which could work on negative numbers also.

Try solving now

2. Connect n ropes with minimum cost

Easy
20m average time
80% success
0/40
Asked in companies
ArcesiumUberOptum

You have been given 'N' ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. We need to connect the ropes with minimum cost.

The test-data is such that the result will fit into a 32-bit integer.

Problem approach

I solved this question using a priority queue(max heap) by inserting all elements in the priority queue and then taking the maximum two out of them and pushing their sum again to the priority queue.

Try solving now

3. Left View of Binary Tree

Moderate
30m average time
60% success
0/80
Asked in companies
SAP LabsZSThought Works

You have been given a Binary Tree of 'n' nodes, where the nodes have integer values



Example :
If the input tree is as depicted in the picture: 

alt text

The Left View of the tree will be:  2 35 2 
Problem approach

This was again a very standard question and solved it using recursion.

Try solving now
02
Round
Medium
Video Call
Duration70 minutes
Interview date4 Feb 2022
Coding problem2

1. Triplets in Binary Tree

Easy
15m average time
85% success
0/40
Asked in companies
AdobeAmazonNosh technologies

You have been given a Binary Tree of integers and an integer 'X'. Find all the triplets in the tree whose sum is strictly greater than 'X'. The nodes in the triplet must hold the relationship of grandparent-parent-child.

For example:
For the given binary tree and X = 9

alt text

{1, 3, 6} is a valid triplet because 6 is a node whose parent is 3 and grand-parent is 1. Also, the sum of these nodes is 1 + 3 + 6 = 10 which is strictly greater than X = 9.
Problem approach

I thought of recursive preorder traversal and then tried storing elements in a stack but could not solve this question. Then the interviewer moved to the next question.

Try solving now

2. House Robber

Moderate
26m average time
0/80
Asked in companies
SamsungAmazonQuikr

A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.

Problem approach

I told the interviewer dynamic programming based solution on either including the current element to current sum or excluding the current element and then he asked me to write its code and I gave properly commented code for this.

Try solving now
03
Round
Easy
Video Call
Duration50 minutes
Interview date4 Feb 2022
Coding problem3

This was technical + HR round

1. Basic HR Questions

1. Tell me about yourself.
2. Why are looking for a change? You recently joined a company and now again you are giving interviews?

Problem approach

Tip 1 : Start with the basic introduction with previous experience and skills.
Tip 2 : Simply gave the reason that this company is better than your previous company so wanted to join it.

2. Basic HR Questions

1. Tell me the difference between Mutex and Semaphores with a real-life example.
2. What is round robin algo?

Problem approach

Gave him a proper definition of both and then gave him an example based on classical OS problems.

3. Basic HR Questions

1. What is Normalization and why it is done?
2. What is indexing and what's its benefits?

Problem approach

Tip 1 : Be confident and clear with your btech syllabus.

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
4 rounds | 8 problems
Interviewed by Amazon
8518 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS
907 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3319 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
2580 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Developer
5 rounds | 14 problems
Interviewed by Microsoft
3931 views
1 comments
0 upvotes
company logo
Software Developer
6 rounds | 12 problems
Interviewed by SAP Labs
2806 views
0 comments
0 upvotes
company logo
Software Developer
3 rounds | 3 problems
Interviewed by Amazon
1133 views
0 comments
0 upvotes