Sanjaay Gowda T S
All company profiles

COMPANY CONTEXT / 21 IN THE STUDY LIST

Mastercard Incorporated

FinancialsUnited StatesSystem designAI & machine learning

Mastercard operates payment-network and related technology services for commerce participants.

Original company-context practice, not verified company interview questions. Use the business setting to explain technical choices clearly.

01 / PRACTICE IN CONTEXT

Two problems to reason through.

Clarify assumptions before reading the model answer. Discuss what would change with different constraints.

Original company-context practiceHard

System design

Accept a clearing batch without silently losing records

Mastercard Incorporated · Concept

Original practice scenario: A hypothetical payment-processing service receives numbered clearing files from a partner. Files can be retransmitted, arrive out of order or contain malformed records. Design acceptance and reconciliation.

Read model answer

Separate transport receipt, file validation and business acceptance. A successful upload must not imply that every clearing record was accepted or that an expected file actually arrived.

Work through it

  1. Identify the partner, business date, file sequence and content fingerprint; distinguish identical retries from conflicting content under the same identity.
  2. Validate the complete envelope and declared record controls, staging records before an atomic acceptance decision or an explicit record-level exception policy.
  3. Track expected versus received file sequences and reconcile accepted counts and amounts, returning durable receipts that support replay and operator investigation.

Tradeoffs to discuss

  • File-level atomicity simplifies reconciliation but rejects valid records alongside a defect; partial acceptance requires detailed receipts and careful retry semantics.

Common pitfalls

  • A missing sequence is different from an empty valid file.
  • Never repair control totals by dropping unmatched records or assuming retransmitted content is necessarily identical.
Open full question
Original company-context practiceHard

AI & machine learning

Evaluate a transaction-network model without sharing future edges

Mastercard Incorporated · Concept

Original practice scenario: A hypothetical risk model uses relationships between merchants, accounts and devices. How can a random transaction split overstate performance, and what evaluation would be more credible?

Read model answer

Graph relationships can transmit information across a split even when transaction rows differ. Evaluation should reproduce the graph and labels available at prediction time.

Work through it

  1. Define the prediction event and build graph features from an explicit historical cutoff, excluding later transactions, investigations and entity resolutions.
  2. Use chronological evaluation and additional tests for new merchants or devices, ensuring that label-derived embeddings or aggregate statistics are fitted only on training evidence.
  3. Compare with non-graph baselines and report performance by familiar versus unseen entities, alongside false-alert workload and stability as the graph changes.

Tradeoffs to discuss

  • Entity-held-out tests are demanding and reveal generalization limits, while chronological tests better represent continued operation among existing participants.

Common pitfalls

  • Do not compute one full-period graph and merely hide evaluation labels afterward.
  • Shared devices or merchant relationships may be legitimate; connectivity alone should not be presented as proof of wrongdoing.
Open full question

02 / STRENGTHEN THE FOUNDATIONS

Related technical practice.

Browse company questions

03 / TEST AN APPROACH

Suggested coding exercises.

Exercises selected for these technical tracks. They are independent practice with visible tests and public solutions.

Study list: PwC Global Top 100 companies by market capitalisation, 2026 · 31 March 2026.

Keep learning beyond the interview.

Explore the Learning Hub