JobsJob TrackerJob alerts

Mastercard · 101 questions

All 101Coding 39System Design 6Low-Level Design 8Behavioral 19Product Sense 1
  • Print prime numbers in a rangeCoding
  • Valid parentheses with all edge casesCoding
  • Implement a basic linked listCoding
  • Decode StringCoding
  • Pangram check on input sentencesCoding
  • Sum of even numbers between x and yCoding
  • Pseudocode to find min and max in an arrayCoding
  • Check whether two strings are anagramsCoding
  • Get the middle element of a linked listCoding
  • Convert a number to words using the Indian groupingCoding
  • Reverse a stack / min stackCoding
  • Palindrome check, optimisedCoding
  • Fibonacci recursive and iterative; nth node from the endCoding
  • Third largest mountain in an arrayCoding
  • Element presence check in two arraysCoding
  • Palindromes from a stringCoding
  • Maximum path sum in a matrixCoding
  • Find missing element in a sequenceCoding
  • Find second largest element in a listCoding
  • Explain OOP to a 5-year-old, then the four pillars with examples
  • Design a car system using design principles and patternsLow-Level Design
  • Which design patterns do you know, and explain BuilderLow-Level Design
  • Four pillars of OOP with examples; ACID properties
  • Partition tolerance in the CAP theorem
  • What is a REST API
  • A team member is not working and performs poorlyBehavioral
  • When to use SQL vs NoSQL and why Firebase
  • Tell me about yourself and why MastercardBehavioral
  • Speak on any topic for three minutesBehavioral
  • Design how a lift worksSystem Design
  • Two switches, two bulbs puzzle and variations
  • Why a finance firm, and why Mastercard?Behavioral
  • Explain polymorphism with an example
  • Explain ACID properties
  • Monolithic versus microservices: when to use eachSystem Design
  • Sharding and consistent hashingSystem Design
  • Interface Segregation example and the Template patternLow-Level Design
  • How do you do code reviewsBehavioral
  • Search and sort complexities, and quicksort versus merge sortCoding
  • ACID properties, database design situations and cardinality ratio
  • Past experience, role in ACM chapter and projectsBehavioral
  • Make an application distributed and scalableSystem Design
  • Difference between Runnable and Callable
  • Design a REST API for CRUD on an EmployeeLow-Level Design
  • How does Spring auto-configuration work
  • Streams: numbers starting with 1 and array maximumCoding
  • Static method on a null object and creating an object of a class inside its own method
  • Improvements made at the org, technology choices and a big production issueBehavioral
  • Why Mastercard and why are you looking outBehavioral
  • Polymorphism with an example and ACID properties
  • REST API calls and the different REST methods
  • What to keep in mind before developing a website's frontend
  • Three mislabelled boxes: which one has mangoes
  • Why did you not receive a PPO from your internshipBehavioral
  • Who is Mastercard's biggest competitorBehavioral
  • Second highest salaried employee queryCoding
  • Why not pursue an MS given your strong profileBehavioral
  • Hibernate, Spring Boot, SQL procedures vs Java, triggers
  • Architecture of a CRM full-stack projectSystem Design
  • Interfaces vs abstract classes, polymorphism and JVM role, why arrays are fixed size
  • How would you build a coding platform like LeetCodeSystem Design
  • SSL, HTTP, REST vs SOAP, logging, deploying a jar on EC2
  • Two admins editing the same employee recordLow-Level Design
  • HashTable vs HashMap storage, thread pool, SQL vs NoSQL
  • Idea opposed by team and management; explain microservices to a childBehavioral
  • State and props, virtual DOM, hooks, router, class vs function components
  • REST API integration, OOP with examples, normalization
  • Why Mastercard, why hire you, project challengesBehavioral
  • Modified Job SchedulingCoding
  • Debug two buggy Java snippets: file handling and Singleton
  • An easier version of longest increasing subsequenceCoding
  • Arrange numbers on a circle and its center so all diameters sum equally
  • Consume a REST API and print the result in a specific formatCoding
  • Draw an ER diagram for a sample caseLow-Level Design
  • Basic array and string manipulation problemsCoding
  • Basic String ProblemCoding
  • Greedy ProblemCoding
  • Clock hands coincidence puzzle
  • Explain engineering to non-technical personBehavioral
  • Linear DP Coding ProblemCoding
  • Determinants, Eigenvectors, Probability Distributions, and Python
  • Mastercard HR and Lockdown DiscussionBehavioral
  • Count valid lexicographical neighbor character pairs in wordsCoding
  • Purchase N pens as cheaply as possible from multiple shopsCoding
  • Count frequency of consecutive lettersCoding
  • College student data analysis
  • SQL vs NoSQL
  • String rotation and string-integer conversionCoding
  • Cybersecurity, Java Strings, OOPs, and Linked ListCoding
  • Situational management and company knowledgeBehavioral
  • Draw an ER DiagramLow-Level Design
  • Count cells with at least one adjacent 1 in binary matrixCoding
  • Find LCA in binary tree given path strings arrayCoding
  • C Language Output Prediction and ConceptsCoding
  • Print Hello World without semicolonCoding
  • Print Primes and Make Array PalindromicCoding
  • OOP, DBMS, Deadlock, and Java ExceptionsLow-Level Design
  • Investigate a 12% drop in approval rates in one marketProduct Sense
  • McKinsey style case and behavioral questionsBehavioral
  • General behavioral and background questionsBehavioral
← Mastercard questions
  1. Interview questions
  2. Mastercard
  3. Draw an ER Diagram
Low-Level Design

Draw an ER Diagram

Filed under Mastercard

The question

Draw an Entity-Relationship (ER) diagram for a given scenario.

No write-up yet. Related questions below have one.

Related Mastercard questions

  • Design a car system using design principles and patterns
  • Which design patterns do you know, and explain Builder
  • Interface Segregation example and the Template pattern
  • Design a REST API for CRUD on an Employee
  • Two admins editing the same employee record
← Situational management and company knowledgeCount cells with at least one adjacent 1 in binary matrix →

Collected from public candidate posts and coding forums. Updated Nov 2026.