Filter interviews by
I applied via Campus Placement
1hr - 2 questions - basic arrays and maps only
I was interviewed before Sep 2020.
Round duration - 60 Minutes
Round difficulty - Medium
The task is to check whether a given string is a palindrome or not, considering only alphabets and numbers and ignoring symbols and whitespaces.
Convert the string to lowercase and remove all symbols and whitespaces.
Reverse the modified string and compare it with the original string.
If they are equal, then the string is a palindrome.
If not, then the string is not a palindrome.
Integer ...
The task is to find the integral part of the square root of a given number.
Use the built-in square root function to find the square root of the number.
Convert the result to an integer by rounding down or using the floor function.
Print the integer part of the square root as the output.
The task is to find the minimum number of steps required to reduce a positive integer to 1 using three given operations.
Use dynamic programming to solve the problem efficiently.
Create an array to store the minimum steps required for each number from 1 to N.
Iterate from 2 to N and calculate the minimum steps for each number based on the three operations.
Return the minimum steps for N.
Round duration - 60 Minutes
Round difficulty - Medium
They started Fundamentals of OOP- Inheritance, Polymorphism
SQL queries (basic, nested, and the on containing where,having,group by,order by, like, etc..)
SQL Joins, and which is the fastest?
DDL vs DML
The question is about SQL queries, SQL joins, and the difference between DDL and DML.
SQL queries can be basic or nested and can involve various clauses like WHERE, HAVING, GROUP BY, ORDER BY, LIKE, etc.
SQL joins are used to combine rows from different tables based on a related column between them.
The fastest join depends on the specific scenario and the data involved.
DDL (Data Definition Language) is used to define and...
What are the benefits of a multiprocessor system?
Explain demand paging?
What is virtual memory?
deadlock
Benefits of multiprocessor system, demand paging, virtual memory, and deadlock explained.
Benefits of a multiprocessor system include increased processing power, improved performance, and better resource utilization.
Demand paging is a memory management technique where pages are loaded into memory only when they are needed.
Virtual memory is a memory management technique that allows the execution of processes that are lar...
The maximum sum of any contiguous subarray in an array is found using Kadane's algorithm in O(N) time.
Initialize two variables, maxSum and currentSum, both set to the first element of the array.
Iterate through the array from the second element.
For each element, update currentSum by adding the element to it.
If currentSum becomes negative, reset it to 0.
If currentSum is greater than maxSum, update maxSum.
After iterating ...
Round duration - 30 Minutes
Round difficulty - Medium
Some people had two HR interviews but I only had one and interview went up till 11:30 pm and you get only 5-10 minutes to prepare for HR on Zoom
Do you have any regrets?
How do you respond to change?
Answering basic HR questions about regrets and response to change.
I believe that regrets are a part of life and learning from them is important.
I respond to change by being adaptable and open-minded.
I embrace change as an opportunity for growth and improvement.
I have learned from past experiences and have become more resilient.
I actively seek feedback and continuously strive to improve myself.
I have successfully adapte...
Tip 1 : Solve atleast 200 problems
Tip 2 : Focus on all data structures
Tip 3 : Build some good projects
Tip 1 : Keep it precise and concise.
Tip 2 : Build your resume yourself according your skills
What people are saying about MasterCard
I applied via Naukri.com and was interviewed in Feb 2020. There was 1 interview round.
MasterCard interview questions for designations
I applied via Company Website
2 DSA medium questions was asked.
2 DSA coding questions and CS fundamentals
The topic was -> "One nation one election"
String pool in Java is a pool of unique strings stored in memory to optimize memory usage.
String pool is a part of Java's memory where unique string literals are stored.
When a new string is created, Java checks if it already exists in the pool to save memory.
Strings created using double quotes are added to the pool, while those created using 'new' keyword are not.
Example: String str1 = "hello"; String str2 = "hello"; /...
Java has checked and unchecked exceptions. Checked exceptions must be handled at compile time, while unchecked exceptions do not need to be handled explicitly.
Checked exceptions: Must be caught or declared in the method signature. Example: IOException, SQLException
Unchecked exceptions: Do not need to be caught or declared. Example: NullPointerException, ArrayIndexOutOfBoundsException
I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.
LRU cache with multi level caching involves implementing a cache with multiple levels of storage, where the least recently used items are evicted first.
Implement a two-level cache system with a primary cache (e.g. in-memory) and a secondary cache (e.g. disk-based).
Use a data structure like a doubly linked list and a hash map to efficiently manage the cache and track the least recently used items.
When an item is accesse...
posted on 9 Feb 2024
I was interviewed in Jan 2024.
based on 13 reviews
Rating in categories
Senior Software Engineer
709
salaries
| ₹13 L/yr - ₹44 L/yr |
Software Engineer2
228
salaries
| ₹9.6 L/yr - ₹31 L/yr |
Software Engineer
217
salaries
| ₹6.1 L/yr - ₹22 L/yr |
Consultant
179
salaries
| ₹13.5 L/yr - ₹40 L/yr |
Lead Software Engineer
135
salaries
| ₹24 L/yr - ₹60 L/yr |
PayPal
Visa
American Express
Discover Financial Services