Mastercard Pune | Sr SDET interview Experience
Summary
I interviewed for a Senior SDET role at Mastercard in Pune, undergoing two technical rounds with a focus on Java concepts and coding problems. Despite answering most coding questions correctly and discussing joining timelines, I was ultimately not selected.
Full Experience
I applied for the Sr SDET position at Mastercard through their career portal.
My first round was a 30-minute technical screening with the hiring manager. We discussed basic Java questions, like reversing a string and writing XPath. The interviewer was very helpful, explaining the product I'd be working on and my main roles and responsibilities.
The second round was a 1-hour technical interview. Most questions were tricky Java concepts, with little focus on Selenium, Playwright, RestAssured, or design patterns. We covered various Java concepts and then moved to coding questions. I managed to answer all coding questions correctly, although I missed a few Java concept questions. Towards the end, the interviewer asked about my availability to join and reiterated the role's responsibilities, which made me hopeful. However, I never received a callback from HR.
Ultimately, I was not selected for the position. I estimate the compensation for a Sr SDET with 7+ years of experience at Mastercard to be around 25 LPA, including a 10% variable.
Interview Questions (10)
Reverse String
How to reverse a string in Java.
Write XPath
How to write an XPath expression.
Java Object Creation Methods
What are different ways to create an object in Java?
Abstract Class and Constructors
- Can we create an object of an abstract class?
2. Does an abstract class have a default constructor?
3. If an object cannot be created from an abstract class then why do we have a constructor in an abstract class?
Final and Static Constructors in Java
- Can we have a final constructor in Java?
2. Can we have a static constructor in Java?
String Concatenation Output 1
What will be the output of the below code:
String s= 21+"abc"+ 49 +14; System.out.println(s);
String Concatenation Output 2
What will be the output of the below code:
String s= 21+ 49+"abc"+ 14; System.out.println(s);
Fizz Buzz Problem
The classic Fizz Buzz problem.
Merge Two Arrays with Single Loop
Suppose there are 2 arrays having integers. Create array number 3 which has all elements from array 1 and array 2. There is 1 condition that you can use for loop only once while solving the problem.
Input : arr1 : {1,2,3,4, 5} & arr2 : {6,7,8,9,10}
Output : arr3 : {1,2,3,4, 5, 6,7,8,9,10}
Swap Immediate Elements in Array
Swap immediate elements in array.
Input : array : {18,45, 7,10,5}
Output : array :{45,18,10,7,5}