RBC interview questions

Finance · 5 questions · last reported Jan 2025
Report an interview →

Browse 5 RBC interview questions for finance interview preparation. Questions in this collection are tagged for full-time roles. Explore the topics and stages below and filter the collection to plan your practice.

Interview stages in this collection
Phone screen, Onsite, Online assessment (OA)
Practice topics
array (3), two-pointers (3), dynamic-programming (2), string (2), greedy (1), matrix (1), simulation (1)

Questions come from candidate contributions and online research. Reports reflect past experiences and do not guarantee what RBC will ask. Locked question details require points. Public examples below are free to read.

Read 5 free RBC interview question examples

Browse all RBC questions

5 questions

Free RBC interview question examples

Read the full problem statements and use the links to revisit or share a specific example.

Spiral Matrix

Medium · Phone screen · Onsite · Full-time

Spiral matrix traversal from my RBC technical round. Return all elements of an m x n matrix in spiral order. The tricky part was the termination condition for non-square matrices where you can end up double-counting a row or column. The interviewer followed up asking how I'd generate a spiral matrix by filling in values 1 to n^2, which is basically the reverse operation.

Buy and Sell Stock

Easy · Online assessment (OA) · Phone screen · Onsite · Full-time

Got this as the first question in my RBC technical interview. Given daily stock prices, find the best day to buy and sell for maximum profit. The interviewer then asked about the variant where you can make multiple transactions, and then the one where you can hold at most two at a time, which gets significantly harder.

Valid Palindrome

Easy · Online assessment (OA) · Phone screen · Onsite · Full-time

Simple two-pointer warm-up from my RBC phone interview. Check if a string is a palindrome after converting to lowercase and removing non-alphanumeric characters. I used two pointers from each end, skipping invalid characters. Quick and clean, but the interviewer extended it by asking how I'd find the longest palindromic subsequence, which is a very different DP problem. Also asked about Unicode handling and whether my character validation would work with accented characters.

Longest Palindrome

Medium · Phone screen · Online assessment (OA) · Onsite · Full-time

Longest palindromic substring in my RBC onsite round. I went with expand-around-center for O(n^2) since it's cleaner to implement than Manacher's. The interviewer asked me to handle both odd and even length palindromes, which I did by expanding around each character and each pair of adjacent characters. They seemed particularly interested in my test cases and wanted me to walk through one with overlapping palindromes of different lengths.

Container With Most Water

Medium · Phone screen · Online assessment (OA) · Onsite · Full-time

Container with most water came up in my RBC phone screen. Find two vertical lines that form a container holding the most water. I used two pointers starting from the outside and moving the shorter line inward. The interviewer wanted a clear explanation of why moving the taller pointer can never improve the answer. They also extended it by asking what if the lines have width and you need to subtract their volume from the water.