Mock interviews · DSA and coding

DSA mock interview
a live coding round, marked like the real one.

Sixty minutes solving data structures and algorithms problems in a shared code pad while an experienced engineer interviews you. Within 24 hours you get a written report: a mark for each of five skills and what to practise next.

By the Revvox team · Updated 19 October 2026

The short answer

A DSA mock interview is a timed practice coding round where you solve one or two data structures and algorithms problems out loud while an experienced engineer plays the interviewer. On Revvox it lasts 60 minutes on video with a shared code pad, and you are marked 1 to 5 on problem solving, code quality, testing and edge cases, complexity, and communication. The written report arrives within 24 hours. A single round costs ₹2,499 ($32).

What a DSA and coding round tests

A coding round looks like a test of whether you know the answer. It is really a test of how you get there. The interviewer gives you a problem, usually about arrays, strings, trees, graphs or dynamic programming, and watches how you understand it, pick an approach, write working code and check it, all while explaining your thinking.

Getting to an accepted solution matters, but so does the route. A candidate who starts with a simple correct approach, says why it is slow, and then improves it often scores better than one who jumps straight to a clever answer they cannot explain. At junior levels the focus is clean, correct code. At senior levels interviewers expect you to reach a good complexity quickly, handle edge cases without prompting, and write code that someone else could maintain.

How it is scored

After the 60-minute round, the interviewer marks each line below 1 to 5 in your written report, due within 24 hours, with notes on what you said and wrote behind each mark. The verdict is one of Strong hire, Hire, Lean hire, Lean no hire or No hire.

DSA and coding round: the five lines on the report
Skill (1 to 5)What the interviewer looks for
Problem solvingYou clarify the problem, find a working approach, improve it with a reason, and take hints without losing your way.
Code qualityReadable code with clear names, small helper functions where they help, and no tangle of special cases.
Testing and edge casesYou trace the code on an example and on the awkward inputs: empty, one item, duplicates, very large values. You catch your own bugs.
ComplexityYou state time and space cost correctly, know which part dominates, and can say what a faster approach would need.
CommunicationYou explain before you type, keep the interviewer with you, and finish within the time.

DSA practice questions

Problems in the style of real coding rounds, written by us. In a mock, the interviewer picks one at your level and changes it as you go, so use these to warm up, not to memorise.

  1. Given a list of meeting start and end times, find the smallest number of rooms needed so no two meetings in one room overlap.Sorting plus a heap or two pointers, and handling meetings that end exactly when another starts.
  2. Given a string, find the length of the longest stretch with no repeated character.A sliding window with a map of last positions, and a clear explanation of when the window moves.
  3. A warehouse grid has shelves and open cells. Find the shortest walk from the entrance to every open cell.Breadth-first search from one source, marking visited cells, and the cost in terms of grid size.
  4. Given the prices of a share over several days, find the best profit with at most two buy-and-sell pairs.A dynamic programming state you can explain in one sentence, then reducing memory to a few variables.
  5. Merge several sorted lists of user events into one sorted stream.A min-heap of the current head of each list, and its cost compared with merging pairs.
  6. Given a binary tree, return the values you would see looking at it from the right side.Level-order traversal or a depth-first walk that tracks depth, and a clean base case.
  7. Given an array of positive numbers and a target, count the subarrays whose sum equals the target, then handle negative numbers too.Why the sliding window stops working with negatives, and switching to prefix sums with a hash map.

How a Revvox DSA mock runs

  1. Five minutes: the problem. The interviewer reads out a problem at your level. You restate it, ask about input sizes and edge cases, and agree an example.
  2. Ten minutes: the approach. You talk through a first idea and its cost, then a better one. The interviewer may nudge you, as a real one would.
  3. Twenty-five minutes: the code. You write the solution in a shared code pad in the language you choose, then walk through it on your example and the tricky cases.
  4. Ten minutes: a follow-up. A twist on the problem or a second, shorter question: a new constraint, a larger input, or a request to save memory.
  5. Ten minutes: feedback out loud. The interviewer tells you how it went while it is fresh. The written report, with marks and next steps, follows within 24 hours.

How to prepare in two weeks

Solving hundreds of problems silently is not the same as passing a round. Interviews reward patterns you can recognise quickly and explain clearly, so spend your time on both.

  • Learn the patterns, not the problems: two pointers, sliding window, hashing, binary search on the answer, BFS and DFS, heaps, intervals, and the common dynamic programming shapes.
  • For each pattern, solve three problems and say out loud why the pattern fits. That sentence is what the interviewer wants to hear.
  • Practise in a plain editor without autocomplete or a run button, the way many rounds are held.
  • Always state the time and space complexity before the interviewer asks.
  • Do at least one timed round with another person watching. Nerves change how you code, and only practice under pressure shows you how.

Common mistakes we see

  • Coding before agreeing the approach, then rewriting halfway through when it turns out to be wrong.
  • Not asking about input sizes, so the solution is too slow for the real constraints.
  • Forgetting empty inputs, single elements, duplicates and negative numbers until the interviewer points them out.
  • Long silences. The interviewer cannot give credit for thinking they cannot hear.
  • Declaring the code done without tracing it through an example.

Packages

One round, or the whole loop.
Pay once. No subscription.

  • Single round

    1 live round

    ₹2,499one time

    Pay per round

    One round you need to nail, soon.

    • One 60-minute live interview
    • The round of your choice
    • Written report within 24 hours
    • Score, strengths, gaps and next steps
    Choose single round
  • Recommended

    Standard

    3 live rounds

    ₹6,499one time

    Save 13% on single rounds

    The full loop: coding, design and behavioural.

    • Three 60-minute live interviews
    • Rounds shaped like the company's loop
    • A report after every round
    • Progress across rounds in one view
    Choose standard
  • Advanced

    5 live rounds

    ₹9,999one time

    Save 20% on single rounds

    Senior and lead roles, or a long prep window.

    • Five 60-minute live interviews
    • System design and leadership rounds
    • A report after every round
    • A 15-minute review call at the end
    Choose advanced

You pick a real open time first, then pay through Dodo Payments. Your time is held for 15 minutes while you pay.

Questions

Questions
people ask about this.

Which programming languages can I use?
Any mainstream language you are comfortable with, such as Python, Java, C++, JavaScript, Go or C#. Tell us when you book and the interviewer will work in it with you.
Who runs the DSA mock interview?
An experienced engineer in your track, matched to your level. We do not claim our interviewers work at any particular company.
Is the code run against tests?
The round uses a shared code pad, and the interviewer reviews your code with you as a real interviewer would. What counts is whether you can show it works by tracing it and testing the edge cases yourself.
What is in the written report?
A 1 to 5 mark for each of the five lines in the table above, what went well, the two or three gaps that cost you most with practice for each, and a verdict at your level from strong hire to no hire. It arrives within 24 hours.
How much does a DSA mock interview cost?
A single round is ₹2,499 ($32). Standard is three rounds for ₹6,499 ($85) and Advanced is five rounds for ₹9,999 ($129). You pay once when you book; there is no subscription.
I have an interview in two weeks. Is one round enough?
One round shows you where you stand. Many people book one early, work on the gaps in the report, then book a second to check. See our guide to preparing for a DSA interview in two weeks.

Solve it once with an engineer watching.

Pick your level and language, pay when you book and choose a time from engineers' open slots. Your written report arrives within 24 hours.

Get early access to Revvox

Takes a minute. A founder reads every one.

  1. 1 You
  2. 2 Your needs
Which product do you want?