NPCI | Java Developer

npci logo
npci
· Java Developer· 1y exp
February 11, 2026 · 2 reads

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.

Full Experience

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.

  1. Java & Streams
  2. Write a Streams program to calculate aggregate value
  3. Convert a List into a HashMap using Streams
  4. Can we have unchecked exceptions in lambda expressions?
  5. equals() method in Java
  6. Concurrency
  7. CompletableFuture (working + methods)
  8. ThreadPoolTaskExecutor
  9. Synchronized at class level vs method level
  10. How to avoid deadlock?
  11. HashMap internal working
  12. transient vs volatile keyword
  13. @ControllerAdvice - Global exception handling mechanism
  14. Redis
  15. Redis Sets and their use cases

Interview Questions (16)

1.

Search in a Binary Search Tree

Data Structures & Algorithms

Implement the search operation in a Binary Search Tree.

2.

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.

3.

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.

4.

SQL Query with Multiple ORDER BY

Other

Write an SQL query involving multiple ORDER BY clauses.

5.

Java Streams Aggregate Value

Other

Write a Java Streams program to calculate an aggregate value from a collection.

6.

Convert List to HashMap using Streams

Other

Demonstrate how to convert a List into a HashMap using Java Streams.

7.

Unchecked Exceptions in Lambda Expressions

Other

Discuss whether unchecked exceptions can occur within lambda expressions in Java.

8.

Java equals() Method

Other

Explain the equals() method in Java, including its contract and common pitfalls.

9.

CompletableFuture

Other

Explain the working of CompletableFuture in Java and its various methods.

10.

ThreadPoolTaskExecutor

Other

Explain ThreadPoolTaskExecutor.

11.

Synchronized Class vs Method Level

Other

Compare and contrast the synchronized keyword 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 HashMap in Java.

14.

transient vs volatile Keywords

Other

Differentiate between the transient and volatile keywords in Java.

15.

@ControllerAdvice for Global Exception Handling

Other

Explain @ControllerAdvice as a global exception handling mechanism in Spring Boot.

16.

Redis Sets and Use Cases

Other

Explain Redis Sets and discuss their typical use cases.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!