NPCI | Java Developer
- Experience
- 1 year
- Posted
- 11 Feb 2026
Summary
I recently interviewed for a Java Developer role at NPCI, which involved an online assessment covering DSA, Spring Boot API development, and SQL, followed by a detailed technical interview focused on Core Java, Concurrency, and Spring Boot fundamentals.
How it went
College: VESIT, Mumbai
Experience: 6 Months Internship + 6 Months Full-Time
Current Company: Fintech
I recently interviewed for the Java Developer role at NPCI. Sharing my experience below.
Round 1: Online Assessment (OA)
Total 6 questions, divided into 3 sections (2 each). Had to solve 1 question from each section (Total 3)
Section 1 – DSA
- Q1: Not able to recall
- Q2: Search in a Binary Search Tree (LC)
Section 2 – Spring Boot
- Develop a Spring Boot API from a problem statement
- Debug and fix an existing API
Focus: Controller–Service–Repository flow, annotations, exception handling
Section 3 – SQL
- One SQL query (not recalled)
- One query with multiple ORDER BY clauses
Round 2: Technical Interview
This round focused heavily on Core Java, Concurrency, and Spring Boot fundamentals.
- Java & Streams
- Write a Streams program to calculate aggregate value
- Convert a List into a HashMap using Streams
- Can we have unchecked exceptions in lambda expressions?
- equals() method in Java
- Concurrency
- CompletableFuture (working + methods)
- ThreadPoolTaskExecutor
- Synchronized at class level vs method level
- How to avoid deadlock?
- HashMap internal working
- transient vs volatile keyword
- @ControllerAdvice - Global exception handling mechanism
- Redis
- Redis Sets and their use cases
Questions asked (16)
- 01
Search in a Binary Search Tree
Data Structures & Algorithms
Implement the search operation in a Binary Search Tree.
- 02
Develop Spring Boot API
Other
Develop a Spring Boot API based on a given problem statement, focusing on Controller–Service–Repository flow, annotations, and exception handling.
- 03
Debug Spring Boot API
Other
Debug and fix issues in an existing Spring Boot API, with focus on Controller–Service–Repository flow, annotations, and exception handling.
- 04
SQL Query with Multiple ORDER BY
Other
Write an SQL query involving multiple ORDER BY clauses.
- 05
Java Streams Aggregate Value
Other
Write a Java Streams program to calculate an aggregate value from a collection.
- 06
Convert List to HashMap using Streams
Other
Demonstrate how to convert a List into a HashMap using Java Streams.
- 07
Unchecked Exceptions in Lambda Expressions
Other
Discuss whether unchecked exceptions can occur within lambda expressions in Java.
- 08
Java equals() Method
Other
Explain the
equals()method in Java, including its contract and common pitfalls. - 09
CompletableFuture
Other
Explain the working of
CompletableFuturein Java and its various methods. - 10
ThreadPoolTaskExecutor
Other
Explain
ThreadPoolTaskExecutor. - 11
Synchronized Class vs Method Level
Other
Compare and contrast the
synchronizedkeyword when applied at the class level versus the method level in Java. - 12
Avoid Deadlock
Other
Discuss strategies and best practices to avoid deadlocks in concurrent programming.
- 13
HashMap Internal Working
Data Structures & Algorithms
Explain the internal working mechanism of
HashMapin Java. - 14
transient vs volatile Keywords
Other
Differentiate between the
transientandvolatilekeywords in Java. - 15
@ControllerAdvice for Global Exception Handling
Other
Explain
@ControllerAdviceas a global exception handling mechanism in Spring Boot. - 16
Redis Sets and Use Cases
Other
Explain Redis Sets and discuss their typical use cases.