
Real Interview Questions for the Software Engineer at Prosus
NewPractice MCQs
Answers count toward the Software Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1An engineer has spent four years scaling a checkout platform at a Series B fintech that Prosus acquired, and wants to keep building at that scale while the product team retains autonomy. Which motivation best fits that background at Prosus?
Answer to see the discussion.
MCQ-2A Prosus storefront logs 60 million interactions as ordered pairs, with 25 million distinct length-2 patterns. A single-pass hash map counting every pattern exceeds the 512 MB limit, and the team needs the exact top 10 patterns. Which approach fits this constraint?
Answer to see the discussion.
MCQ-3A service counts length-2 patterns in a hash map and must report the top 3 after each batch of increments, breaking count ties by the lexicographically smaller pattern. Its min-heap holds patterns counted 50, 40, and 30 times, and an outside pattern reaches 40 times, lexicographically smaller than the pattern counted 40 times. Which heap update keeps the next report correct?
Answer to see the discussion.
MCQ-4Three shards partition Prosus shoppers disjointly and count length-2 interaction patterns locally. Each shard sends only its top two patterns to a coordinator, which sums those counts. The view-to-cart pattern ranks third on every shard with 100 occurrences each, while the sent patterns have lower combined totals. What merge gives the exact global top patterns?
Answer to see the discussion.
MCQ-5A Prosus storefront must deliver order-status updates within seconds to users who have the app installed, and promotions to five million users including those without the app, at the lowest cost. Which channel split meets both requirements?
Answer to see the discussion.
MCQ-6A Prosus storefront sends notifications through a third-party gateway capped at 20,000 messages per second. A flash sale generates 180,000 promotions in 10 seconds plus 4,000 order-status updates that must arrive within 5 seconds, and promotions must be delivered within minutes. How should the pipeline handle the burst?
Answer to see the discussion.
MCQ-7A Prosus order service publishes `order.shipped` and `order.delivered` to email, push and SMS workers, and retries can deliver the same event twice or deliver `shipped` after `delivered`. The inbox must show only the latest status once. Which handling achieves that?
Answer to see the discussion.
MCQ-8A bill totals 80 dollars for four participants. Two participants have prepaid 50 and 40 dollars, and the other two have paid nothing, so total prepaid exceeds the bill. What should the function return for each unpaid participant's remaining balance?
Answer to see the discussion.
MCQ-9A bill totals 120 dollars for three participants. One participant has prepaid 150 dollars, the other two have paid nothing, and the function must return fair remaining balances. What should each unpaid participant owe?
Answer to see the discussion.
MCQ-10A marketplace reprices listings every five seconds from demand and stock levels. Checkout reads a price, reserves inventory, then charges about two seconds later, and sellers dispute charges that differ from the displayed price. Which mechanism charges the displayed price without blocking repricing?
Answer to see the discussion.
MCQ-11A marketplace pushes 50,000 demand-driven price changes per minute, while shoppers may see a price up to two seconds old. The last unit of an item must never be sold twice, even when two checkouts race in different regions. Which consistency split fits these constraints?
Answer to see the discussion.
MCQ-12A streaming median service keeps a max-heap for the lower half and a min-heap for the upper half, with heap sizes differing by at most one. After inserting 2 into a stream whose lower heap held 1, 3 and 5 and whose upper heap held 7 and 9, the lower heap has four elements and the upper heap has two. Which rebalance restores the invariant before the next median lookup?
Answer to see the discussion.
MCQ-13A stream median tracker keeps a max-heap for the lower half and a min-heap for the upper half. After insertions and lazy deletions it holds 10 in the max-heap and 20, 30, 40, 50 in the min-heap, with no rebalancing step run. What median should a correct rebalance return for these five values?
Answer to see the discussion.
MCQ-14An augmented binary search tree stores subtree sizes at every node, with 12 nodes in the root's left subtree. A service must return the 20th smallest value following only one root-to-leaf path, using stored sizes to skip subtrees. Which search step returns that value?
Answer to see the discussion.
MCQ-15A binary search tree stores subtree sizes at every node, but it was built by inserting keys in sorted order, so its height equals its node count. A service answers kth-smallest queries by descending a single root-to-leaf path using those sizes. What worst-case cost, in terms of n, is guaranteed per query?
Answer to see the discussion.
MCQ-16A Prosus portfolio payments service begins returning 502 errors minutes after a deploy, while the owning team is unreachable. You trace the failures to a retry loop in that deploy exhausting the connection pool, and a rollback is available within minutes. What is your first action?
Answer to see the discussion.
MCQ-17You advocated splitting a new Prosus payments service into three services, but a prototype shows the monolith at 200 ms p99 versus 900 ms for the split, with six weeks and two engineers to ship. Your lead's scaling concern remains, and the team needs a recorded outcome. What should you do?
Answer to see the discussion.
Curated: · Written: · Reviewed: