Mindstix Software Labs interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Mindstix Software Labs
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
My seniors advised me to practice DSA from the very start of B.Tech, but I did not take it seriously. Honestly speaking, I regretted not taking their advice, and in the third year, I started coding, and I had to increase my practice hours because I started late. By the end of the third year, I was confident in DSA and development, but even then, I kept revising the concepts.
Application story
MindStick visited my campus for the placement process. We just had to upload our resume and fill in all the details in the form. After the online test, around seven candidates were selected for interviews.
Why selected/rejected for the role?
I was able to clear all the rounds. I think it was because I answered correctly to almost all the solutions, gave quick answers, had good projects listed on my resume, and had a little knowledge about the company. I was able to impress the interviewer.
Preparation
Duration: 4 months
Topics: C++, Data Structures, Algorithms, Graph and Trees, Operating Systems, Object Oriented Programming, Database Management System
Tip
Tip

Tip 1: Your data structure and algorithm basics should be very clear. 
Tip 2: Try to solve questions in a specific time frame. Also, dry run your code with custom test cases and try to find the edge cases. Apart from this, try analyzing your solution's time and space complexity.
Tip 3: Take a look at editorials after solving the questions, as they can give you a better approach to the problem.
Tip 4: Pay attention to subjects like OOPs, DBMS, and OS. Interviewers ask a few questions from here as well.
 

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

Tip 1: Do not fake any skills, projects, or achievements. The interviewer gets to know about it by asking questions to you.
Tip 2: Have at least one good project on your resume with all the details like technologies used and purpose.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 mins
Interview date10 Apr 2021
Coding problem2

1. Count Triplets

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

You have been given an integer ‘X’ and a non-decreasing sorted doubly linked list with distinct nodes.

Your task is to return the number of triplets in the list that sum up to the value ‘X’.

Problem approach

Sort the list in ascending order, then find the complement. After that, use a two-pointer approach with front and rear pointers to find the target value. Add the numbers to the result vector and ensure there are no duplicates by checking if the number is already in our list; if so, move the pointers.

Try solving now

2. Validate Binary Tree Nodes

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

You are given ‘N’ binary tree nodes numbered from 0 to N - 1 where node ‘i’ has two children LEFT_CHILD[i] and RIGHT_CODE[i]. Return ‘True’ if and only if all the given nodes form exactly one valid binary tree. If node ‘i’ has no left child then 'LEFT_CHILD[i]' will equal -1, similarly for the right child.

Example:

Let’s say we have n=4 nodes, 'LEFT_CHILD' = {1, -1, 3, -1} and 
RIGHT_CHILD = {2, -1, -1, -1}. So the resulting tree will look like this:

It will return True as there is only one valid binary tree and each node has only one parent and there is only one root.
Problem approach

I solved this question using preorder recursion in O(n) time

Try solving now
02
Round
Medium
Video Call
Duration60 mins
Interview date17 Apr 2021
Coding problem2

1. Find Duplicates In Array

Easy
15m average time
90% success
0/40
Asked in companies
InfosysAckoIBM

You are given an array/list 'ARR' consisting of N integers, which contains elements only in the range 0 to N - 1. Some of the elements may be repeated in 'ARR'. Your task is to find all such duplicate elements.

Note:
1. All the elements are in the range 0 to N - 1.
2. The elements may not be in sorted order.
3. You can return the duplicate elements in any order.
4. If there are no duplicates present then return an empty array.
Problem approach

If the number is visited, it is turned negative. If the visited number is negative, it means it has already been visited (duplicate) and is hence added to the list. Since the array values are from 1 to n, 1 is subtracted from the array values at the time of indexing.

Try solving now

2. Find K Closest Elements

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

You are given a sorted array 'A' of length 'N', two integers 'K' and 'X'. Your task is to print 'K' integers closest to 'X', if two integers are at the same distance return the smaller one.

The output should also be in sorted order

Note:
An integer 'a' is closer to 'X' than an integer 'b' if: 
|a - X| < |b - X|  or (  |a - X| == |b - X| and a < b )
For Example:
if X = 4,  3 is closer to 'X' than 9, as |3-4| < |9-4|  i.e., 1 < 5   and if X = 4, 2 and 6 are equally close to it, as |2-4| == |6-4| = 2, but we say 2 is closer to 4 than 6, as 2 is smaller.
Problem approach

I solved this question using a heap data structure in O(nlogk) time.

Try solving now
03
Round
Easy
HR Round
Duration45 mins
Interview date21 Apr 2021
Coding problem1

This was an HR round that asked about personal experiences, expectations, and behavioral questions.

1. Basic HR Questions

1. Where do you see yourself in next 5 years?

2. Why do you want to join?

Here's your problem of the day

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

Skill covered: Programming

Which keyword is used for inheritance?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
3056 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
5341 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
2164 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
1939 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree
11562 views
7 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7349 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9153 views
1 comments
0 upvotes