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

Full Stack Engineer

Master Card
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structure, Algorithms, JavaScript, HTML/CSS, React
Tip
Tip

Tip 1 : Be consistent, practice regularly whatever you read/study.
Tip 2 : Apply what you learn through code.

Application process
Where: Campus
Eligibility: Above 7 CGPA, Resume shortlisting on the basis of projects
Resume Tip
Resume tip

Tip 1 : Have some projects on your resume.
Tip 2 : If you have an internship or training explain it in a proper way like what are the techniques you learned during your training.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date6 Aug 2021
Coding problem2

1. Longest Palindromic Subsequence

Hard
45m average time
50% success
0/120
Asked in companies
SAP LabsCIS - Cyber InfrastructureIBM

You have been given a string ‘A’ consisting of lower case English letters. Your task is to find the length of the longest palindromic subsequence in ‘A’.

A subsequence is a sequence generated from a string after deleting some or no characters of the string without changing the order of the remaining string characters. (i.e. “ace” is a subsequence of “abcde” while “aec” is not).

A string is said to be palindrome if the reverse of the string is the same as the actual string. For example, “abba” is a palindrome, but “abbc” is not a palindrome.

Try solving now

2. Word Pattern

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

You have been given two strings 'S' and ‘T’. Your task is to find if ‘S’ follows the same pattern as ‘T’.

Here follow means a full match, i.e. there is a bijection between a letter of ‘T’ and a non-empty word of ‘S’.

For Example:
If the given string is S = "lion cow cow lion" and T = “wccw”, then the string ‘S’ follows the same pattern as string ‘T’.
Note:
'T’ contains only lowercase English letters.

‘S’ contains only lowercase English letters and spaces.

‘S’ does not contain any trailing or leading spaces. All words in ‘S’ are separated by a single space.
Try solving now
02
Round
Easy
Video Call
Duration40 Minutes
Interview date18 Aug 2021
Coding problem3

1. Level Order Traversal

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

You have been given a Binary Tree of integers. You are supposed to return the level order traversal of the given tree.

For example:
For the given binary tree

Example

The level order traversal will be {1,2,3,4,5,6,7}.
Try solving now

2. Next Greater Node In Linked List

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

Ninjas are often known for their superhuman strength and valour. In a given set of linked ninja villages of different clans, their strongest ninjas want to know whether there exists a stronger ninja in the nearest village linked ahead of their village in order to be prepared for threats and enemies.

You are given the villages in the form of a linked list consisting of N integers each integer representing the strength of the strongest ninja in their village. The head of the linked list would be pointing to the strength of the strongest ninja in the first village (which would be the first node).

The nodes in the list can be numbered as "node 1", "node 2" and so on. Each node may have a next larger value (a village with a stronger ninja)

For "node i" , next larger("node i") is the "node j.val" such that j > i and "node j.val" > "node i.val" , and j is the smallest possible choice. If such a j does not exist, the next larger value is 0.

Note :
Your task is to return an array of integers answer, 
where ans[i] = next_larger(node_{i+1}).
For Example :
Input: 2 - >1 -> 5
Output: ans = [5,5,0]

Here for the first node village, the village with a stronger ninja is present with a strength of 5, therefore ans[0] = 5.
Similarly ans[1] = 5 and since there are no villages after node 3 with stronger ninjas, therefore, ans[2] = 0
Try solving now

3. Technical Questions

What is the difference between MongoDB and MySQL? 

If you remove an object attribute, is it deleted from the database?

Why is Node.js Single-threaded?

What is piping in Node.js?

What is reconciliation?

What is the purpose of getSnapshotBeforeUpdate() & lifecycle method?

03
Round
Easy
HR Round
Duration15 Minutes
Interview date15 Sep 2021
Coding problem1

1. Basic HR Questions

What do you know about mastercard?
Are you free to relocate after lockdown ends?

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
SDE - 1
3 rounds | 7 problems
Interviewed by Master Card
4504 views
0 comments
0 upvotes
SDE - 1
2 rounds | 4 problems
Interviewed by Master Card
842 views
0 comments
0 upvotes
Data Scientist
3 rounds | 3 problems
Interviewed by Master Card
1393 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3452 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Full Stack Engineer
4 rounds | 11 problems
Interviewed by Sprinklr
1298 views
0 comments
0 upvotes
company logo
Full Stack Engineer
2 rounds | 5 problems
Interviewed by HashedIn
0 views
0 comments
0 upvotes