42gearMobilitySystems interview experience Real time questions & tips from candidates to crack your interview

MTS 1

42gearMobilitySystems
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: data structures and algorithm, language C++, i have prepared some puzzles also, Dbms, Oops, A project in web development
Tip
Tip

Tip 1 : Good practice of DSA
Tip 2 : Good project(decent one)
Tip 3 : For interviews prepare a little bit about the company you are applying for.

Application process
Where: Campus
Eligibility: Above 7 CGPA, CSE and ECE branch
Resume Tip
Resume tip

Tip 1 : Add a project in resume.
Tip 2 : Add your top skills and make sure you have knowledge about the things written in your resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration180
Interview date14 Oct 2020
Coding problem2

It was from 8 to 11 in the morning. Basic aptitude MCQs were there and 2 coding questions were there.

1. Check if two expressions with brackets are same

Easy
16m average time
88% success
0/40
Asked in companies
Codalien Technologies42gearMobilitySystems

You are given two strings which are expressions in variables. You need to compare and tell if they are similar or different. You need to return “YES” for the same expressions and “NO” for different expressions. The expressions consist of lowercase alphabets, ‘+’, ‘-’ and ‘(‘, ‘)’. It may be assumed that there are at most 26 operands from ‘a’ to ‘z’.

Two expressions will be said as similar if they have the same set of operands and when some values are given to these operands, then both the expressions give the same result.

For example:
If the first expression is: (a + (b + c)) and the second expression is: a + b + c. The expressions are the same because if they are evaluated, they will give the same output. So the answer is “YES”.
Note:
You can assume that any expression is evaluated according to the BODMAS rule.
Try solving now

2. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
PhonePeChegg Inc.Barclays

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Try solving now
02
Round
Easy
Face to Face
Duration32
Interview date15 Oct 2020
Coding problem3

It was my first face to face technical round. DSA questions of easy-medium type were asked. And some discussion on the project was there.

1. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Problem approach

It is a standard problem in the linked list we can solve it using two pointers one moves one step at a time and the other two steps at a time. For each time we check whether they are the same. And this goes up to NULL is reached.

Try solving now

2. Convert binary tree to mirror tree

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

Given a binary tree, convert this binary tree into its mirror tree.

A binary tree is a tree in which each parent node has at most two children.

Mirror of a Tree: Mirror of a Binary Tree T is another Binary Tree M(T) with left and right children of all non-leaf nodes interchanged.

alt text

Note:
1. Make in-place changes, that is, modify the nodes given a binary tree to get the required mirror tree.
Try solving now

3. 3 switches and 3 bulbs

There is a room with a door (closed) and three light bulbs. Outside the room, there are three switches, connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you can’t change them. Identify each switch with its bulb. All bulbs are in working condition.

Problem approach

Let the bulbs be X, Y, and Z 
Turn on switch X for 5 to 10 minutes. Turn it off and turn on switch Y. Open the door and touch the light bulb. 
1. if the light is on, it is Y 
2. if the light is off and hot, it is X 
3. if the light is off and cold, it is Z 

03
Round
Medium
Face to Face
Duration45
Interview date21 Oct 2020
Coding problem2

It was technical plus HR round

1. Cube of a matrix

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

Given an M x N sized 2D array 'MATRIX', return the (i * i + j * j) value for elements in which the sum of cube of digits of the element is equal to the element itself. Here, 'i' is the row number from ‘0’ to ‘M-1’, and 'j' is the column number from ‘0’ to ‘N-1’.

Note:
If no such number is present, return -1.
Try solving now

2. HR Questions

Simple and common Hr questions were asked like 

1. Why are you interested in this company?

2. Do you have any location barriers?

3. Where do you see yourself in 5 years?

4. What do you know about the company?

5. Do you have any plan for further education?

Problem approach

Tip 1 : Try to speak clearly and confidently.
Tip 2 : Collect some details about the company before giving interviews.
Tip 3 : Don't panic and be confident.

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
3451 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 13 problems
Interviewed by 42gearMobilitySystems
294 views
0 comments
0 upvotes