More Campus OA Problems
Only campus and intern candidates need these, since experienced hires usually skip Mastercard's online assessment. The older campus and intern tests worked a little differently from the hard HirePro sittings. Statements came with full samples, and input could arrive on standard input, line by line. One prompt warned that a stray print would fail the test case. Work these three after the hard assessment problems, as extra practice.
They look friendlier than they are. One hides a matching, and in another a flat fee breaks the greedy answer. The third is the gentle one, so spend its spare minutes testing your input loop. Here the problems take function arguments, and every language tab shares one set of tests. On the real test you'd parse the same values from standard input, so write that loop once for practice and make sure nothing else prints.
MastercardPremium lesson · Coding round
The 3 Mastercard problems are below.
- A Premium questionCoding · Medium
- A Premium questionCoding · Hard
- A Premium questionCoding · Medium
Each with hints, the follow-up and a tested solution.
Get the Mastercard questions$49 a year · all 100 companies · cancel anytime
From 116 Mastercard reports, forum threads behind logins and write-ups in Chinese.
Mastercard interview guideKnow what Mastercard asks before you walk in.
31 coding · 2 system design · 15 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.