RBC coding interview
questions, leaked.
5 problems reported across recent RBC interviews. Top patterns: array, two pointers, dynamic programming. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.
RBC's coding assessment hits you with five problems across array manipulation, two-pointer traversal, and dynamic programming. You're looking at two easy problems and three medium ones, no curveballs into hard territory. The real pressure isn't difficulty spikes, it's pattern density. Array and two-pointers each show up three times. You need to recognize when to scan left-right versus when to iterate through a matrix spiral. Miss the pattern mid-assessment, and you stall. That's where StealthCoder steps in, invisible during screen share, surfacing a working solution in seconds if you hit a wall on something like Spiral Matrix or Longest Palindromic Substring.
Top problems at RBC
| # | Problem | Diff | Frequency | Pass % | Patterns |
|---|---|---|---|---|---|
| 01 | Spiral Matrix | MEDIUM | 100.0 | 54% | Array · Matrix · Simulation |
| 02 | Container With Most Water | MEDIUM | 100.0 | 58% | Array · Two Pointers · Greedy |
| 03 | Best Time to Buy and Sell Stock | EASY | 100.0 | 55% | Array · Dynamic Programming |
| 04 | Longest Palindromic Substring | MEDIUM | 100.0 | 36% | Two Pointers · String · Dynamic Programming |
| 05 | Valid Palindrome | EASY | 100.0 | 51% | Two Pointers · String |
Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.
You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual RBC OA. The proctor cannot see it. Screen share cannot detect it. Made for the engineer who has done the work but might still blank with a webcam pointed at him.
Get StealthCoder- array3 · 60%
- two pointers3 · 60%
- dynamic programming2 · 40%
- string2 · 40%
- matrix1 · 20%
- simulation1 · 20%
- greedy1 · 20%
RBC leans hard on array and two-pointer techniques. Three problems explicitly test two-pointers, which means they're betting you either know the pattern cold or you don't. Container With Most Water and Valid Palindrome are textbook two-pointer setups, and if you blanked on greedy optimization or substring matching before, you'll recognize it now. Dynamic programming shows up twice but isn't the main event, it's the secondary filter on stock trading and palindrome problems. String work is minimal but requires DP thinking. The medium problems cluster around traversal optimization, not algorithmic complexity. Spend your prep time drilling two-pointer direction and array bounds. If you've locked those patterns, the assessment becomes mechanical. StealthCoder is your safety net if a two-pointer variant surprises you or a matrix iteration gets tangled under pressure.
Companies with similar patterns
If you prepped for RBC, these companies recycle ~60% of the same topics.
You've seen the list.
Now make sure you pass RBC.
Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Made for the engineer who has done the work but might still blank with a webcam pointed at him. Works on HackerRank, CodeSignal, CoderPad, and Karat.
RBC interview FAQ
How many two-pointer problems should I solve before the RBC assessment?+
At least 10 to 15 solid reps. Two-pointers appear in 3 of 5 problems here, so you need the pattern automatic. Valid Palindrome and Container With Most Water are your baseline, then branch into rotation and merge variants.
Is dynamic programming required for RBC, or is it a bonus?+
It's secondary. DP shows up on Best Time to Buy and Sell Stock and Longest Palindromic Substring, but both have greedy or two-pointer fallbacks. Master DP if you have time, but lock arrays and two-pointers first since they're heavier.
What should I drill first: matrix problems or string problems?+
Matrix second. Spiral Matrix is one problem and it's medium. String work appears twice, and Valid Palindrome is easy. Start with strings and two-pointers, tackle Spiral Matrix last since it's isolation practice.
Are the two easy problems enough to get comfortable before medium?+
No. The two easy problems are Best Time to Buy and Sell Stock and Valid Palindrome. Both still require DP or two-pointer fluency. Use them as warm-ups, not as your sole easy-problem prep.
How much time should I spend on matrix traversal for RBC?+
One focused session, maybe 30 to 40 minutes. Spiral Matrix is the only matrix problem in the five. It tests simulation and array indexing, both core to the assessment, but don't over-invest relative to two-pointer reps.