Juspay - interview guide
Juspay interview questions - a complete guide
Reports say Juspay's coding challenge questions are hard, and the team uses functional programming - here is preparation for both.
By Cuelyte AI team ·
About Juspay
Juspay builds payments infrastructure - merchants' checkout pages, UPI SDKs and the open-source payments switch Hyperswitch. It is based in Bengaluru. Juspay is known for using functional languages (Haskell, PureScript).
This guide covers 9 Juspay interview questions with answers - what each question checks and how to answer it - plus the Juspay interview process, round by round, a 7-day preparation plan for freshers, tips and the mistakes to avoid.
Juspay hiring process
Hiring challenge / online test
Reports mention hard coding questions - mostly graphs and trees.
Problem solving round
Live problem solving or a small development task.
Technical interviews
DSA, projects and sometimes functional programming basics.
Final / HR
Culture fit and joining.
Juspay does not publish its India fresher interview process in detail (as of our check). This is based on candidate reports - many of them for experienced roles, so the fresher process can differ. Confirm with the recruiter.
Sources (checked 24 November 2026): Juspay Careers. Hiring processes change - read the official notice before you apply.
Juspay interview questions and answers
Coding challenge
Long graph questions are common in reports - recognising the graph in the problem is half the work.
1.A tree of nodes that can be locked/unlocked - a node can be locked only if no ancestor or descendant is locked.
- What they're checking
- A tree-locking problem like this has come up repeatedly in reports.
- How to answer
- Give each node a parent pointer, isLocked and a lockedDescendants count. To lock, check the ancestors going up and look at the count; once locked, increase the count on every ancestor. The reverse on unlock. Each operation is O(height).
2.The shortest path between two nodes in a graph (with weights).
- What they're checking
- Dijkstra.
- How to answer
- A min-heap of (distance, node). Relax the neighbours of each node you pop. O((V + E) log V). Say that Dijkstra doesn't work with negative weights.
3.Each node has exactly one outgoing edge - find the length of the largest cycle.
- What they're checking
- A functional graph - it has come up in reports.
- How to answer
- Walk from each unvisited node, recording the step number of nodes on the current path. If you return to a node on this same path, cycle length = current step - that node's step. Each node is visited once - O(n).
4.The 'meeting point' of two nodes - a node reachable from both with the smallest total distance.
- What they're checking
- A combination of two BFS/traversals.
- How to answer
- Compute distances separately from each (BFS, or a simple walk in a one-edge graph). Among nodes both reach, take the minimum of max(d1, d2) or the sum - whichever the question asks.
Functional programming and payments
5.What is a pure function and why is it useful?
- What they're checking
- Juspay's stack is functional.
- How to answer
- Always the same output for the same input, and no side effects. Easy to test, safe to run in parallel, and fewer bugs. Example: add(a, b) is pure; writing to a database is not.
6.Use map, filter and reduce to get the sum of squares of a list's even numbers.
- What they're checking
- Functional thinking.
- How to answer
- filter(even) -> map(x*x) -> reduce(+, 0). No loop, and each step is small and can be tested on its own.
7.A payment can go through one of several gateways - which do you pick?
- What they're checking
- Juspay's core work (routing).
- How to answer
- Track each gateway's recent success rate, cost and downtime; send most traffic to the best one but some to others so you keep getting data. On failure, retry on another - with idempotency.
HR
8.Why Juspay?
- What they're checking
- Motivation.
- How to answer
- The scale of payments infrastructure, open source (Hyperswitch), and wanting to learn functional programming - whatever you genuinely like.
9.A new concept you learnt on your own?
- What they're checking
- At Juspay you have to learn a new stack.
- How to answer
- What you learnt, how (docs, a project), and what you built with it.
7-day preparation plan for the Juspay interview
- Day 1: Trees - parent pointers, problems like locking.
- Day 2: Graph traversal - BFS, DFS.
- Day 3: Shortest paths and cycles.
- Day 4: A mock coding challenge (2 hours).
- Day 5: Functional programming basics.
- Day 6: Payments - UPI, routing, idempotency.
- Day 7: Projects and HR.
Preparation tips
- Get graphs solid: BFS, DFS, Dijkstra, cycles.
- Read long problem statements carefully and identify the data structure.
- Look at the basics of Haskell or a functional style - map, filter, reduce, pure functions.
- Understand payment routing and retries.
Mistakes to avoid
- Reading the problem statement in a hurry and building the wrong model.
- Not testing edge cases (an empty graph, a single node).
- Being put off by the words 'functional programming' - the basics are enough.
Frequently asked questions
What is the Juspay hiring challenge?
According to reports, it is an online coding round with hard DSA questions, especially graphs and trees.
Do I need to know Haskell for Juspay?
According to reports, freshers aren't expected to know Haskell beforehand; understanding the basics of functional programming helps.
What does Juspay do?
Payments infrastructure - checkout, UPI SDKs and the open-source Hyperswitch.
Where is Juspay's office?
Juspay is based in Bengaluru.
Similar companies - Product and internet companies
- Amazon interview questions
- Google interview questions
- Microsoft interview questions
- Flipkart interview questions
- Adobe interview questions
- Salesforce interview questions
- Zoho interview questions
- Walmart Global Tech interview questions
- Oracle interview questions
- Cisco interview questions
- Swiggy interview questions
- PayPal interview questions
More company guides
- TCS interview questions
- Infosys interview questions
- Wipro interview questions
- Accenture interview questions
- All companies →
Read next
- How to Answer "Tell Me About Yourself" (for Freshers and Experienced)
- Strengths and Weaknesses: Best Interview Answers (Examples)
- Why Do You Want to Join Our Company? Answers With Examples
- Questions to Ask at the End of an Interview: 25 Good Ones
- Campus Placement Interview Preparation: A Round-by-Round Guide
On a live call, Cuelyte AI hears questions like these and has an answer ready in 0.2 seconds, built from your resume and notes. Coding interviews: how Cuelyte AI helps
Ready for your Juspay interview?
Practise these questions with Cuelyte AI: add your resume, type a question and get a clear answer in your own words - in English, Hindi or Hinglish. Free to start.