The DRW Online Assessment (Codility)
- Know the 2026 DRW OA format: platform, length, time, language and proctoring
- Answer what grades your code when you only see a couple of examples
- Solve the three problems from an October 2026 intern OA
- Practice the 2025 Singapore problems on simulation, grid walks and digit masks
For interns, new grads and most campus developer hires, DRW starts with an online assessment before any person talks to you. DRW's own intern page calls it a coding challenge on fundamental computer science concepts that you complete at home under timed conditions. Almost every firsthand report that names the platform says Codility, up to an October 2026 intern sitting.
The current shape is three problems in about two hours. An October 2026 intern had 115 minutes and called the set pretty easy, with plenty of time to spare. A July 2026 intern called all three medium. So plan for easy to medium, and spend your prep on clean, tested code more than on rare algorithms.
The DRW OA format in 2026
The invitation states your exact time limit, so read it before you plan anything. Recent reports put the test at about two hours. A Montreal intern in January 2026 described it as about two hours long and finished in one, and the October 2026 sitting ran 115 minutes. Reports from 2021 through 2024 mostly describe 150 minutes for three problems, so older write-ups will overstate the clock.
- Platform: Codility. Named in almost every firsthand report from 2021 to October 2026. Two older reports, a 2022 UK intern and a 2024 New York candidate, had HackerRank instead. DRW has linked a Codility sample test from its own prep article since 2018.
- Problems: usually three. Three problems in reports from 2021 to 2026. A 2025 new grad described one easy and two mediums.
- Time: about two hours. The October 2026 intern OA ran 115 minutes. Reports from 2021 to 2024 mostly had 150 minutes.
- Language: your choice. Most reports pick freely. One July 2026 intern was told the hardest problem had to be in C++, a single report so far.
- Proctoring: camera and microphone. London and Chicago interns in November 2024 both had video and audio on, and a Chicago intern in October 2025 called it proctored.
- Tests: write your own. Only a few basic examples are shown. Candidates say you add your own test cases to check edge inputs.
A shorter version exists too. A forum summary from late 2024 describes a newly introduced 30-minute Codility test with a single question. It shows up far less often than the three-problem sitting, so treat the long version as the default unless your invitation says otherwise. Two older reports, from 2020 and February 2024, also had one task that handed over existing code to fix or change under constraints, next to two normal problems, so be ready to read someone else's code quickly. A 2024 candidate in Canada had a 72-hour window to start the test after the invite, which gives you room to pick a quiet slot.
Is the DRW OA auto-graded?
As far as anyone can see, yes. Codility runs your code against test cases you never see, and DRW's prep article says the questions "assess both correctness and performance of your code." That means a slow brute force can lose points on large inputs even when every answer is right. Nobody has described a human reading the code afterward, and DRW doesn't publish a cutoff.
Don't read the silence afterward as a verdict. A January 2026 intern in Montreal said they aced the test and still didn't move on, and a few 2025 and 2026 candidates only heard back after chasing the recruiter. If a week goes by with nothing, send a short, polite note.
The DRW SWE intern OA
Most reports come from intern candidates, so the description above is mostly the intern test. The 2027 cycle is the one being recruited now. DRW's current Europe intern postings ask for graduation between December 2027 and August 2028, and the US postings weren't open yet at the end of November 2026. Intern postings list C++, Python, Java, C# or C as languages, so use whichever one you write fastest.
DRW SWE OA vs the quant OA
DRW sends different tests to different roles. Its intern page says the challenge is either "a quantitative challenge focused on probability and logic skills or a coding challenge on fundamental computer science concepts." Trader and researcher applicants get the probability and logic test. Software developers get the Codility coding test this lesson covers. If your invite mentions mental math or probability, you're on the quant track.
How to spend the two hours
Read all three prompts first, because they're long and story-shaped, and a 2025 new grad said the questions take a while to read. Start with the one you can see the answer to. For each problem, write down the input limits before you code, since they tell you whether brute force is safe. The October 2026 candidate said brute force passed on the first two problems. The third allowed up to 100,000 values, which rules it out.
DRW publishes no rule about AI tools for candidates, and the test is proctored on camera. Assume you're working alone, with only the language docs you'd use in any timed test.
The 2026 DRW OA questions
These three come from a single October 2026 software engineer intern sitting, the newest full set on record. Each one is a single report, so read them for the style and level of the current test. Your own invite will probably tell different stories.
Minimize max minus min after three changes
The October 2026 set opened with something like this. You get an array of numbers and may change any three of them to whatever you like. The question is how small you can make the gap between the largest and smallest value.
Minimize Max Minus Min After Three Changes
Problem
nums. You may change the value of at most three elements, each to any integer you like.Return the smallest possible difference between the largest and the smallest value in the array after your changes. An array with four or fewer elements can always be made all equal, so its answer is 0.
Change 5, 10 and 14 to 1 (or 0). The array becomes [1, 1, 0, 1, 1], and the gap is 1.
Sort first. A changed value should land inside the range of the values you keep, so the changes only ever remove extremes. You remove three values split between the two ends.
Minimize Max Minus Min After Three Changes
Click "Run" to execute your code
values[n - 1 - high] - values[low]. That's k + 1 candidates after one sort. When k is tiny and the array is huge, a heap pulls the k + 1 smallest and largest values in O(n log k) with no full sort.Longest balanced substring
The second October 2026 problem was something like this. In a string of lowercase letters, call a substring balanced when every letter that appears in it appears the same number of times. Find the longest one. The candidate said brute force passed here too, which makes an O(n²) scan with a neat check the right first answer.
Longest Balanced Substring
Problem
s of lowercase English letters. A substring is balanced when every letter that appears in it appears the same number of times. Letters that don't appear in the substring don't count.Return the length of the longest balanced substring of
s. Any single letter is balanced, so the answer is at least 1 for a non-empty string. Return 0 for an empty string."aabb" has two a and two b, so it is balanced. Adding the c breaks it.
Fix a start and grow the end one letter at a time, keeping letter counts. A window is balanced exactly when its length equals the number of distinct letters times the highest count.
Longest Balanced Substring
Click "Run" to execute your code
Fewest expenses to defer to year end
The third October 2026 problem is where input size starts to matter, with up to 100,000 transactions. It goes something like this. A year of transactions arrives in order, and the balance may never go negative. You can push any expense to the end of the year. How few do you need to move?
Fewest Expenses to Defer to Year End
Problem
transactions. Income is a positive number and an expense is a negative number. The balance starts at 0 and must never drop below 0 at any point.You may move any expense to the end of the year, after every other transaction. The total of all transactions is at least 0, so moved expenses can always be paid at the end. Return the smallest number of expenses you need to move. The array holds up to 100,000 values.
The balance hits -10 at the second step. Moving the -20 to the end keeps it at 10, 25, 20, then 0 after the deferred expense.
Walk the year with a running balance and a min-heap of expenses you paid. When the balance goes negative, take back the largest expense paid so far and count one move.
Fewest Expenses to Defer to Year End
Click "Run" to execute your code
Older problems (2025)
These three come from one October 2025 Codility OA for a C++ software engineer internship in Singapore, 150 minutes for three problems. Each is a single report and over a year old, so treat them as practice rather than a forecast. They're here because they teach skills the 2026 set doesn't touch: simulating a process round by round, walking a grid, and packing digits into a bitmask.
Knockout tournament match counts
Knockout Tournament Match Counts
Problem
abilities lists n players in their starting order. The abilities are the distinct numbers 1 to n, and n is a power of two, up to 200,000.In each round, players are paired left to right: first with second, third with fourth, and so on. The higher ability wins, and the winners keep their order for the next round. The tournament ends when one player is left.
Return an array where entry i is the number of matches player i played.
Round one sends 5, 3, 6 and 8 through. Then 5 and 8 win, and 8 beats 5 in the final, so both finalists played three matches.
Simulate the bracket. Keep a list of the indices still alive, pair them two at a time, add one match to both, and keep the winner. Each round halves the list.
Knockout Tournament Match Counts
Click "Run" to execute your code
Robot path planning on a walled grid
The second problem in the 2025 Singapore set was the long one, a robot puzzle in five subtasks. Each asked for a string of moves of at most 100,000 characters that visits a set of empty cells. The subtasks grew from walking only the border of a rectangle, to covering a full rectangle, two rectangles joined by one cell, a single path, and finally any connected shape.
Robot Path Planning on a Walled Grid
Problem
grid is a list of strings forming an R by C board, with R and C between 3 and 50. # is a wall, . is an empty cell and * is the robot's empty starting cell. The outer ring is all walls, and every empty cell can be reached from the start.The robot moves one cell per command:
^ up, v down, < left, > right. It may never step into a wall, and it doesn't have to return to the start.Return the commands of a depth-first walk that visits every empty cell. From each cell, try the directions in the order up, down, left, right, and step into the first unvisited empty neighbor. When a cell has none left, step back the way you came. Stop as soon as every empty cell has been visited.
From the top-left corner, up is a wall, so the robot goes down, then right, up, right and down. All six cells are visited.
Run an iterative depth-first search with a stack of (cell, the move that led here, next direction to try). A new cell appends its arrow; a finished cell appends the reverse arrow and pops.
Robot Path Planning on a Walled Grid
Click "Run" to execute your code
Maximum sum of two numbers with no shared digit
Maximum Sum of Two Numbers With No Shared Digit
Problem
nums of up to 200,000 non-negative integers. Pick two different positions whose numbers have no decimal digit in common.Return the largest possible sum of such a pair, or -1 if no pair qualifies. For example, 12 and 34 share no digit, while 11 and 10 share a 1.
34 and 56 use the digits 3, 4, 5 and 6 with no overlap, and no other valid pair sums higher.
Turn each number into a 10-bit mask of its digits. Keep the largest number for each mask, then try every pair of masks whose AND is zero.
Maximum Sum of Two Numbers With No Shared Digit
Click "Run" to execute your code
Common questions about the DRW OA
How hard is the DRW OA?
Easy to medium in recent reports. The October 2026 intern called it pretty easy and finished with time to spare, while a July 2026 intern called all three problems medium. Some older sittings, from 2022 to 2024, were described as hard, so be ready for one tougher problem.
What platform does DRW use for the online assessment?
Codility, in almost every firsthand report from 2021 to 2026. Two older reports, from 2022 and 2024, had HackerRank instead. DRW's own prep article links a Codility sample test, and it's worth doing once to learn the editor before the real thing.
Is the DRW OA proctored?
Yes, in recent cycles. Interns in London and Chicago in November 2024 had camera and microphone on, and a Chicago intern in October 2025 described a proctored OA. Set up a quiet room and a working webcam before you start the clock.
What comes after the DRW OA?
For campus hires, a 45-minute Zoom interview with a developer, then a final round. The process lesson covers each step, and the next lesson works more OA-style problems on strings, digits and running balances.
Key Takeaways
- ✓The DRW OA is a proctored Codility test, usually three problems in about two hours, in your own language.
- ✓Codility checks correctness and performance on hidden tests, so write your own edge tests before submitting.
- ✓The 2026 problems are custom stories over sorting, counting and a greedy heap. Turn each story into a plain spec first.
- ✓The 2025 set adds bracket simulation, an iterative DFS walk and digit bitmasks, all worth one timed practice run.
DRW interview guideKnow what DRW asks before you walk in.
29 coding · 3 system design · 18 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.