Mastercard Coding Interview Questions

We track 11 coding questions asked at Mastercard, tagged with the algorithms and concepts they test. The most common: Array, String, Dynamic Programming, Greedy, Hash Table.

Browse all 11 Mastercard questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 11 tracked Mastercard questions that touch each concept. Questions usually involve several, so these overlap.

Where Mastercard differs from the average company

Concept weight at Mastercard relative to the average across all companies we track. Green means Mastercard leans on it harder than most.

Mastercard specialties

Concepts that show up at Mastercard but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 11 tracked Mastercard questions.

  • Junior45% (5)
  • Mid/Senior55% (6)

Every concept in Mastercard interviews

ConceptQuestions% of questionsShare of mix
Array763.6%26.1%
String545.5%15.5%
Dynamic Programming436.4%15.2%
Greedy218.2%7.6%
Hash Table218.2%7.6%
Two Pointers218.2%6.1%
Backtracking19.1%1.8%
Breadth-First Search19.1%3.0%
Depth-First Search19.1%1.8%
Math19.1%3.0%
Matrix19.1%1.8%
Simulation19.1%3.0%
Sorting19.1%3.0%
Stack19.1%4.5%

Practice a Mastercard interview

Take a realistic AI-led mock interview with questions Mastercard actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required