Open In App

Mastercard Interview Experience for SDE (On-Campus) 2022

Recently MASTERCARD visited our campus for SDE intern recruitment and below is my experience 🙂 There were overall 3 rounds conducted. 

The coding round was online and the interviews were offline.



Round 1: Coding round:  Two questions were asked:

For eg : INPUT: “hello world”
OUTPUT: 21  (2 because in “hello” ‘e’ and ‘l’, ‘l’ and ‘o’ are in lexicographical order, and in the word “world” only ‘o’ and ‘r’ are in lexicographical order so 1 for the word world).



INPUT: The first line of input has N and S respectively where N = the number of pens bob needs and S is the number of shops. Next S lines have 3 integers Q, P, D where Q = stock of pens available at the shop, P = price per pen, and D = delivery fee.

Sample Test Case : 

10 2
5 5 50
1000 10 0

OUTPUT: 100

600+ students gave the coding round and after that, 69 students were shortlisted.

Technical Interview 1: Started with my intro (Which included both tech and nontech parts). He asked how I developed an interest in web development.

After technical round 1,  40 students were shortlisted.

2nd Technical + HR interview: Since it was a long day, he asked if I was tired.

The interview ended.

After the technical round 2 +HR,  13 students were shortlisted and I got selected 🙂

Keep a smiling and bright face and have an engaging conversation. Most importantly, be genuine and thorough with your resume, and never write anything fake! just stay calm throughout the process and try to communicate as best you can with the interviewer.

Article Tags :