upstox · Software Engineer
Updated · 2026-10-02

upstox Software Engineer
Interview Guide

THE 60-SECOND BRIEF

As a Software Engineer at Upstox, you are at the heart of one of India’s fastest-growing financial technology platforms. You are responsible for building and scaling robust, high-performance systems that empower millions of users to trade and invest with confidence. Your work directly impacts the stability, latency, and user experience of a platform that handles significant market volume, requiring a blend of technical precision and product-centric thinking. This role is both challenging and rewarding because of the sheer scale of the Upstox ecosystem. You will work on complex distributed systems, mobile-first interfaces, and data-intensive services that must remain secure and responsive during peak market hours.

This guide is scoped to a Software Engineer candidate at upstox.

upstox candidates report 2 rounds over 2-4 weeks. The stages below are what candidates describe, not a published process.

Data Structures & Algorithms (DSA)Android (App Development)Problem Solving / Algorithmic Thinking

22 min read

Browse Software Engineer questions

See the practice prompts

13Practice promptsAcross five skill areas

As a Software Engineer at Upstox, you are at the heart of one of India’s fastest-growing financial technology platforms. You are responsible for building and scaling robust, high-performance systems that empower millions of users to trade and invest with confidence. Your work directly impacts the stability, latency, and user experience of a platform that handles significant market volume, requiring a blend of technical precision and product-centric thinking. This role is both challenging and rewarding because of the sheer scale of the Upstox ecosystem. You will work on complex distributed systems, mobile-first interfaces, and data-intensive services that must remain secure and responsive during peak market hours. Whether you are optimizing core trading engines or enhancing mobile application performance, you are a critical driver of the company’s mission to make financial services accessible and seamless for everyone. ##### Tip The environment at Upstox is fast-paced and high-stakes; candidates who thrive here are those who can balance rapid feature delivery with long-term system reliability.

01

Initial Screening

reported

Begin with discussions focused on fitment and background checks.

What to demonstrate

  • Begin with discussions focused on fitment and background checks
  • Depth in Data Structures & Algorithms (DSA)

How to prepare

  • Be able to walk your CV end to end in two minutes, and say why this company specifically.
  • Have your salary expectations, notice period and location constraints ready, and ask for the rest of the loop in writing.
upstox Software Engineer candidate reports ↗
02

Technical Evaluations

reported

Engage in deep technical assessments to evaluate coding abilities.

What to demonstrate

  • Engage in deep technical assessments to evaluate coding abilities
  • Depth in Data Structures & Algorithms (DSA)

How to prepare

  • Answer aloud and timed: How do you handle tight deadlines during high-pressure market scenarios?
  • Answer aloud and timed: Tell me about a time you mentored a junior engineer or improved team processes.
upstox Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Own your narrative

When discussing your career, be clear about why you want to be at Upstox. Demonstrating passion for the financial domain is a significant advantage.

02

Be ready for deep dives

If you mention a technology or a project on your resume, be prepared to explain it in extreme detail, including the challenges you faced and how you overcame them.

03

Communication is key

In technical interviews, talk through your thought process. Interviewers are often more interested in how you arrive at a solution than the solution itself.

Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.

8 technical prompts0 include a worked solution

Diff a projection against the primary without per-row point reads

hard
reconciliationrange hashingthrottling

The listing projection has drifted and some rows show a stale version. The primary holds 40,000,000 resource rows across 12,000 tenants while serving 1,200 writes and 14,000 reads per second. The obvious repair, reading each resource row and comparing its version against the projection, is correct and would eventually finish. Explain precisely why it is unacceptable here, then give a diff that finds the differing rows, state its complexity, and make it safe to run against a live primary. Replication lag is usually under 100 ms and is not bounded.

Approach
  1. Quantify the naive cost rather than calling it slow: 40,000,000 point reads at even 0.5 ms each is over five hours serialised, and the only lever is concurrency, which is exactly what you cannot spend. The primary's pool is sized for the write path, and 40,000,000 random reads evict the buffer cache that sustains the 85 percent cache hit rate, so the audit degrades the system it is auditing.
  2. Replace random access with one ordered pass per side. Both sides can be read in (tenant_id, resource_id) order, which is a sequential scan on each and a merge join in O(n) time and O(1) memory. For a dense diff that is the whole answer, and it reads the primary once instead of 40,000,000 times.
  3. For the expected sparse case, compare range hashes instead of rows: partition the key space, compute per range an order-independent aggregate over hash(resource_id, version), compare aggregates, and descend only into ranges that differ. With d differing rows and branching factor B, at most d ranges mismatch per level, so the drill-down examines O(d log_B(n/d)) ranges and reads full rows only in mismatching leaves.
  4. Aggregate with a sum modulo 2^64 or a multiset hash, never XOR. XOR is order-independent but self-cancelling, so two rows wrong in the same way, or a row duplicated on one side, leave the range aggregate matching and the range is declared clean.
Follow-up
  • The diff reports 900 stale rows. How do you decide between patching those rows and rebuilding the projection from resource_revision?
  • Same job, but the projection lives in a search index that cannot be scanned in key order. What changes?

Identify the heaviest tenants in a five-minute window under memory pressure

medium
top-kheavy hittersstreaming

The edge service handles about 3,000 requests per second across roughly 50,000 tenants, peaking near 9,000. Expose the 50 heaviest tenants by request count over the trailing five minutes so limits can be tightened before one tenant's backfill starves the fleet. You may not retain five minutes of raw records. Give the exact solution and its memory, then the bounded-memory approximation with its error stated as a formula, and say which you would ship and at what tenant cardinality that choice changes.

Approach
  1. Do the exact version first, because it is affordable at this cardinality: a ring of 300 one-second counters per tenant, advanced lazily, is 1,200 bytes of counters per tenant and roughly 60 to 90 MB for 50,000 tenants with overhead. Carry a running total and subtract the bucket you overwrite so a window read is O(1) rather than 300 adds.
  2. Extract the top 50 with a size-k min-heap over the tenant sums: O(d log k) for d tenants, against O(d log d) to sort them all. Maintaining the heap continuously instead of on query requires a tenant-to-heap-index map, because incrementing a count already inside the heap means sifting from a known position, and without that map you rebuild the heap on every request.
  3. State the approximation precisely rather than gesturing at sketches. Misra-Gries with m counters retains every item whose true count exceeds N/(m+1), and each retained count underestimates the truth by at most N/(m+1). With m = 1,000 and N = 900,000 requests in the window the error is roughly 900 requests, which is fine for spotting a tenant sending 50,000 and useless for ranking two tenants 200 apart.
  4. Say what breaks when the window slides: Misra-Gries and Space-Saving are insert-only and cannot be decremented as records age out. The workable construction is one summary per sub-window, say ten seconds, with 30 summaries merged at query time, and the merged error is the sum of the per-summary errors, so the bound degrades linearly in the number of sub-windows.
Follow-up
  • The heaviest tenant is heavy because of one export job rather than user traffic. Should the limiter treat those as the same tenant?
  • Two tenants sit tied at the boundary of the top 50. Does your answer flap, and does the flapping matter?

Merge partitioned event streams into one ordered feed with bounded lateness

hard
k-way mergewatermarksout-of-order streams

The read-model service consumes 64 log partitions carrying about 4,000 events per second in total. Each partition is ordered within itself, but partitions drift by up to 30 seconds, and the activity feed must present a tenant's events in occurred_at order. Produce the merge. State its complexity, the buffer it requires in events and in bytes, what happens when one partition is idle, and what you do with an event that arrives after you have already emitted its position. Payloads average 1 KB.

Approach
  1. Merge with a min-heap over the 64 partition heads keyed on (occurred_at, event_id): O(log P) per event and O(n log P) overall. The tie-break on event_id is what makes the output deterministic when two partitions carry the same millisecond, which matters because the feed is paginated and a non-deterministic order reorders pages under the reader.
  2. Emitting the heap head is only correct once every partition has produced everything up to that timestamp, so the emit condition is a watermark: the minimum across partitions of the highest occurred_at seen, less the allowed lateness. Events are held until the watermark passes them, which is what turns individually ordered streams into a jointly ordered one.
  3. Size the buffer from the lateness rather than guessing: 4,000 events per second times 30 seconds is 120,000 buffered events, and at 1 KB each about 120 MB of heap. That number is the real price of the ordering guarantee and belongs in front of whoever asked for it.
  4. Handle the idle partition explicitly, because it fails the feed rather than corrupting it: a partition with no traffic never advances its own maximum, so the watermark freezes and output stops entirely. Either every partition emits a periodic idle marker carrying the broker's current time, or the watermark falls back to wall clock for a partition silent beyond a threshold.
Follow-up
  • The lateness budget is raised to five minutes. What is the new buffer, and what besides memory changes?
  • The consumer restarts. Where does it resume from, and what does the feed look like for the first 30 seconds?

Built from the rounds and topics upstox candidates report.

Small steps. Visible outcomes.0 / 7 completed
ONE WEEK · YOUR PACE

Prepare, practise & reflect

One practical outcome each day. Spend longer where you need it.

0 / 7 done
01Map the upstox loop
  • Write out the reported sequence: Initial Screening, Technical Evaluations.
  • For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.

Deliverable: A one-page map of the 2 reported rounds, with the weakest marked.

02Work Data Structures & Algorithms (DSA)
  • Spend the session on Data Structures & Algorithms (DSA), which upstox candidates report being tested on.
  • Write one worked example in Data Structures & Algorithms (DSA) and time yourself on it.

Deliverable: One timed worked example in Data Structures & Algorithms (DSA).

03Work Android (App Development)
  • Spend the session on Android (App Development), which upstox candidates report being tested on.
  • Write one worked example in Android (App Development) and time yourself on it.

Deliverable: One timed worked example in Android (App Development).

04Work Problem Solving / Algorithmic Thinking
  • Spend the session on Problem Solving / Algorithmic Thinking, which upstox candidates report being tested on.
  • Write one worked example in Problem Solving / Algorithmic Thinking and time yourself on it.

Deliverable: One timed worked example in Problem Solving / Algorithmic Thinking.

05Answer out loud: Behavioral and Fitment
  • Answer aloud, timed: Why are you looking to switch from your current organization?
  • Answer aloud, timed: Describe a time you had to advocate for a technical decision that was initially rejected.

Deliverable: Spoken answers to 2 reported Behavioral and Fitment question(s), under time.

06Rehearse your own examples
  • Prepare three examples from your own work where you made the decision, each with the outcome you can quantify.

Deliverable: Three examples written out, each with a number attached.

07Dry run for upstox
  • Run one full mock under time, then write down the two questions you most want to ask your interviewers.

Deliverable: A completed timed mock and two questions to ask.

Expand any day for tasks and deliverables. Your progress is saved on this device.

Behavioural rounds judge the decision you made and what it cost.

Why are you looking to switch from your current organization?

medium
Behavioral and Fitment

Why are you looking to switch from your current organization?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Describe a time you had to advocate for a technical decision that was initially rejected.

medium
Behavioral and Fitment

Describe a time you had to advocate for a technical decision that was initially rejected.

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

How do you handle tight deadlines during high-pressure market scenarios?

medium
Behavioral and Fitment

How do you handle tight deadlines during high-pressure market scenarios?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Tell me about a time you mentored a junior engineer or improved team processes.

medium
Behavioral and Fitment

Tell me about a time you mentored a junior engineer or improved team processes.

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

What draws you to the fintech industry and specifically to Upstox?

medium
Behavioral and Fitment

What draws you to the fintech industry and specifically to Upstox?

Approach
  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.
Follow-up
  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?
  • 01

    Why are you looking to switch from your current organization?

  • 02

    Describe a time you had to advocate for a technical decision that was initially rejected.

  • 03

    How do you handle tight deadlines during high-pressure market scenarios?

  • 04

    Tell me about a time you mentored a junior engineer or improved team processes.

PracHub preparation framework ↗
Is the technical assessment very difficult?

The technical rounds are rigorous and focused on real-world application rather than just theory. Expect to discuss the trade-offs of your past implementations and how you would scale them.

upstox Software Engineer candidate reports ↗
How long does the entire process take?

The process is generally efficient, often moving from the initial screen to final decisions within a few weeks, provided you are available for scheduled rounds.

upstox Software Engineer candidate reports ↗
Does Upstox value certifications?

Practical experience and the ability to solve problems are valued significantly higher than certifications. Focus your preparation on your past projects and technical depth.

upstox Software Engineer candidate reports ↗
What topics does upstox test in interviews?

upstox interviews most often cover System Design, Data Structures & Algorithms (DSA), Low-Level Design (LLD), Engineering Management, and iOS (Swift, SwiftUI). The exact emphasis depends on the specific role you apply for.

upstox Software Engineer candidate reports ↗
Sources & methodology 3 sources ↗

No official company page is cited. Rounds and questions come from candidate reports and PracHub editorial material; each source shows the date it was read.