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

Salesforce Developer

MTX
upvote
share-icon
4 rounds | 12 Coding problems

Interview preparation journey

expand-icon
Journey
I recently earned my engineering degree from Chandigarh in computer science engineering. I started learning CPP and dsa from coding ninjas in my second year. I got started working on web development projects. I felt reasonably confident in my abilities. On Codezen, I used to practise dsa questions every day. I felt rather secure in my ability.
Application story
I received this opportunity on campus. To apply, we must fill out a form with our resume and all other required information.
Why selected/rejected for the role?
I was not picked for this position. My coding and practical skills enabled me to seize this chance. It was a fantastic and amazing experience. I believe that one should be proficient in DSA for any SDE role. DSA and projects are essential. It would be the icing on the cake if someone had an internship on their résumé.
Preparation
Duration: 8 months
Topics: Data Structures, Algorithms, OOPS, DBMS, JAVA, OS
Tip
Tip

Tip 1 : make minimum 2 good projects
Tip 2 : Be thorough in at least 1 programming language
Tip 3 : work on your communication skills

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

Tip 1: Avoid lying on your resume.
Tip 2: Resumes need to be concise and clear.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration135 minutes
Interview date5 Nov 2021
Coding problem3

Its multiple-choice questions included aptitude, CS basics (OOP, DBMS, OS, etc.), and a few machine-learning problems.
Time - 135 minutes
environment - proctored with the camera and mike on.

1. Find Pairs

Easy
18m average time
75% success
0/40
Asked in companies
Goldman SachsBank Of AmericaGrant Thornton

We are given a sorted doubly-linked list which contains distinct positive integers, and an integer ‘X’. Print all such unique pairs from the given list so that their sum is equal to ‘X’.

Problem approach

A straightforward method is to iterate through each element of the array and determine whether there is another integer that can be added to it to produce the sum.
Nested loops can be used to accomplish this.

Try solving now

2. Row with max 1s

Moderate
20m average time
80% success
0/80
Asked in companies
Expedia GroupOYOMicrosoft

You are given a 2D matrix 'ARR' (containing either ‘0’ or ‘1’) of size 'N' x 'M', where each row is in sorted order.


Find the 0-based index of the first row with the maximum number of 1's.


Note :
If two rows have the same number of 1’s, return the row with a lower index.

If no row exists where at-least one '1' is present, return -1.


Example:
Input: ‘N’ = 3, 'M' = 3
'ARR' = 
[     [ 1,  1,  1 ],
      [ 0,  0,  1 ],
      [ 0,  0,  0 ]   ]

Output: 0

Explanation: The 0th row of the given matrix has the maximum number of ones.
Problem approach

One approach is to traverse the matrix row-by-row, count the number of 1s in each row, and then compare the count to the maximum. Return the row's index, up to a maximum of 1s, last. The method's temporal complexity is O(m*n), where m is the matrix's number of rows and n is its number of columns.

Try solving now

3. Subsequences of String

Moderate
15m average time
85% success
0/80
Asked in companies
Chegg Inc.Expedia GroupQuikr

You are given a string 'STR' containing lowercase English letters from a to z inclusive. Your task is to find all non-empty possible subsequences of 'STR'.

A Subsequence of a string is the one which is generated by deleting 0 or more letters from the string and keeping the rest of the letters in the same order.
Problem approach

One approach is to traverse the matrix row-by-row, count the number of 1s in each row, and then compare the count to the maximum. Return the row's index, up to a maximum of 1s, last. The method's temporal complexity is O(m*n), where m is the matrix's number of rows and n is its number of columns.

Try solving now
02
Round
Medium
Video Call
Duration45 minutes
Interview date15 Dec 2021
Coding problem2

Held in the afternoon. It stayed for a full hour. The interviewer gave great advice.

1. Pair Difference K

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

You are given a sorted array ARR of integers of size N and an integer K. You have to find whether it is possible to find a pair of integers having an absolute difference of K.

Note:

1. K is a non-negative integer.

2. Absolute Difference between two integers A and B is equal to the difference of maximumOf(A, B) and minimumOf(A, B).

3. Pair of integers should have different indices in the array.
Problem approach

I failed to solve it the first time, but I persisted. I worked on it for 30 minutes. I gave the interviewer every strategy I had tried.
He finally offered me a vague concept, and I immediately told him to use a brute force strategy.

Try solving now

2. DBMS Question

difference between the DELETE and TRUNCATE commands in a DBMS.

Problem approach

Tip 1: do practice SQL queries
Tip 2: should be clear with all the DBMS terminologies
Tip 3: practice is the key

03
Round
Medium
Video Call
Duration45 minutes
Interview date19 Nov 2021
Coding problem3

Held in the afternoon. It stayed for a full hour. The interviewer gave great advice.

1. Smaller Than Triplet Sum

Moderate
40m average time
60% success
0/80
Asked in companies
AmazonSAP LabsMTX

You are given an array ‘ARR’ containing ‘N’ integers, and you are also given an integer ‘TARGET’.

You task is to find the count of triplets i, j, k ( 0 ≤ i < j < k < N ), such that 'ARR[i]' + 'ARR[j]' + 'ARR[j]' is less than the value of ‘TARGET’.

For Example :
If ‘N’ = 7, ‘ARR’ = { 1, 5, 2, 3, 4, 6, 7 } and ‘TARGET’ = 9

Then, there are three triplets with sum less than 9:
1) {1, 5, 2}
2) {1, 2, 3}
3) {1, 2, 4}
4) {1, 3, 4}

Thus, the output will be 4.
Try solving now

2. Largest rectangle in a histogram

Hard
25m average time
75% success
0/120
Asked in companies
OptumCIS - Cyber InfrastructureFacebook

You have been given an array/list 'HEIGHTS' of length ‘N. 'HEIGHTS' represents the histogram and each element of 'HEIGHTS' represents the height of the histogram bar. Consider that the width of each histogram is 1.

You are supposed to return the area of the largest rectangle possible in the given histogram.

For example :
In the below histogram where array/list elements are {2, 1, 5, 6, 2, 3}.

alt text

The area of largest rectangle possible in the given histogram is 10.
Problem approach

It was an medium level problem. I used stack for this question. I explained him every corner case. He was satisfied with the solution.

Try solving now

3. Distance Of Nearest Cell Having 1 In A Binary Matrix

Moderate
35m average time
65% success
0/80
Asked in companies
FacebookDunzoCIS - Cyber Infrastructure

You have been given a binary matrix 'MAT' containing only 0’s and 1’s of size N x M. You need to find the distance of the nearest cell having 1 in the matrix for each cell.

The distance is calculated as |i1 – i2| + |j1 – j2|, where i1, j1 are the coordinates of the current cell and i2, j2 are the coordinates of the nearest cell having value 1.
Note :
You can only move in four directions which are : Up, Down, Left and Right.
For example :
If N = 3, M = 4

and mat[ ][ ] = { 0, 0, 0, 1,
                  0, 0, 1, 1,
                  0, 1, 1, 0 }

then the output matrix will be

3  2  1  0
2  1  0  0
1  0  0  1
Problem approach

In order to determine the minimal distance between each cell in the matrix, Navigate the matrix to identify the cell that contains 1, then measure the distance between two adjacent cells to determine the minimum distance.

Try solving now
04
Round
Easy
HR Round
Duration30 minutes
Interview date22 Nov 2021
Coding problem4

it was scheduled in the evening, the HR representative was friendly.

1. Basic Hr Question

Represent your college journey in 5 minutes

Problem approach

Tip 1: Be yourself
Tip 2: must use good vocabulary to impress the interviewer
Tip 3: maintain eye contact

2. Basic Hr Question

where do you see yourself in 5 years

Problem approach

Tip 1: Be yourself
Tip 2: must use good vocabulary to impress the interviewer
Tip 3: maintain eye contact

3. Basic Hr Question

why this company

Problem approach

Tip 1: Be yourself
Tip 2: must use good vocabulary to impress the interviewer
Tip 3: maintain eye contact

4. Basic Hr Question

how you can say that you're the best candidate for this company

Problem approach

Tip 1: Be yourself
Tip 2: must use good vocabulary to impress the interviewer
Tip 3: maintain eye contact

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
Fullstack Developer
4 rounds | 2 problems
Interviewed by MTX
625 views
0 comments
0 upvotes
Salesforce Developer
3 rounds | 6 problems
Interviewed by MTX
0 views
0 comments
0 upvotes
Salesforce Developer
4 rounds | 10 problems
Interviewed by MTX
585 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
3320 views
0 comments
0 upvotes