Revolut Coding Interview Questions
25 Revolut coding interview problems with full optimal solutions — 10 easy, 11 medium, 4 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Revolut interviewer values, and a FAQ section.
Showing 10 problems of 25
- #1easyfoundational
1. Two Sum
Find two indices whose values sum to a target, a Revolut warm-up that mirrors pairing two transaction legs to net a customer balance to zero.
- #2easyfoundational
2. Valid Parentheses
Use a stack to validate matching brackets, a classic Revolut warm-up that mirrors validating nested transaction blocks in a settlement message.
- #3easyfoundational
3. Merge Two Sorted Lists
Merge two ascending linked lists into one, a Revolut warm-up that mirrors merging two time-ordered FX trade streams into a single tape.
- #4easyfoundational
4. Same Tree
Check whether two binary trees are structurally and value-identical, a Revolut warm-up that mirrors comparing two ledger snapshots for reconciliation drift.
- #5easyfoundational
5. Single Number
Find the one element that appears once when every other appears twice, a Revolut warm-up that mirrors spotting an unmatched payment leg in a duplicated batch.
- #6easyfoundational
6. Majority Element
Find the value appearing more than n/2 times, a Revolut warm-up that mirrors detecting the dominant currency in a stream of FX trades.
- #7easyfoundational
7. Contains Duplicate
Decide whether any value appears at least twice in an array, a Revolut warm-up that mirrors detecting a re-submitted transaction ID before the ledger double-books it.
- #8easyfoundational
8. Missing Number
Find the one number missing from a permutation of 0..n, a Revolut warm-up that mirrors finding a gap in a sequence of FX trade IDs.
- #9easyfoundational
9. Reverse Linked List
Reverse a singly linked list iteratively in place, a Revolut warm-up that mirrors replaying a chain of ledger entries in reverse to compute an as-of balance.
- #10easyfoundational
10. Best Time to Buy and Sell Stock
Find the max profit from a single buy-then-sell over a price series, a Revolut warm-up that mirrors picking the single best entry/exit on an intraday FX feed.