24 questions · from 2 interviews

Npci interview questions

Every question candidates reported from their Npci interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Npci coding and DSA questions

  1. 01

    Search in a Binary Search Tree

    Implement the search operation in a Binary Search Tree.

    From NPCI | Java Developer

  2. 02

    HashMap Internal Working

    Explain the internal working mechanism of HashMap in Java.

    From NPCI | Java Developer

  3. 03

    Delete Minimum and Adjacent Elements Sum

    You are given an array arr of N numbers. Each time the minimum number in the array is selected, its adjacent elements and the number itself are deleted. This process is repeated until there are no numbers left in the array. You are supposed to find and print…

    Medium · From NPCI | IT Analyst

  4. 04

    Minimum Initial Strength for Robot Path

    You are given a matrix mat of size m x n . Each cell of a matrix contains strength. A robot needs a positive strength to travel from the top left corner of the matrix to the bottom right corner. At any point of the journey, its strength cannot drop to 0 or…

    Medium · From NPCI | IT Analyst

  5. 05

    Product Array Puzzle (Without Division)

    Given an array nums of n integers where n > 1 , return an array output such that output[i] is equal to the product of all the elements of nums except nums[i] . The problem explicitly stated that the divide operation cannot be used.

    From NPCI | IT Analyst

Npci other questions

  1. 01

    Develop Spring Boot API

    Develop a Spring Boot API based on a given problem statement, focusing on Controller–Service–Repository flow, annotations, and exception handling.

    From NPCI | Java Developer

  2. 02

    Debug Spring Boot API

    Debug and fix issues in an existing Spring Boot API, with focus on Controller–Service–Repository flow, annotations, and exception handling.

    From NPCI | Java Developer

  3. 03

    SQL Query with Multiple ORDER BY

    Write an SQL query involving multiple ORDER BY clauses.

    From NPCI | Java Developer

  4. 04

    Java Streams Aggregate Value

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

    From NPCI | Java Developer

  5. 05

    Convert List to HashMap using Streams

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

    From NPCI | Java Developer

  6. 06

    Unchecked Exceptions in Lambda Expressions

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

    From NPCI | Java Developer

  7. 07

    Java equals() Method

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

    From NPCI | Java Developer

  8. 08

    CompletableFuture

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

    From NPCI | Java Developer

  9. 09

    ThreadPoolTaskExecutor

    Explain ThreadPoolTaskExecutor.

    From NPCI | Java Developer

  10. 10

    Synchronized Class vs Method Level

    Compare and contrast the synchronized keyword when applied at the class level versus the method level in Java.

    From NPCI | Java Developer

  11. 11

    Avoid Deadlock

    Discuss strategies and best practices to avoid deadlocks in concurrent programming.

    From NPCI | Java Developer

  12. 12

    transient vs volatile Keywords

    Differentiate between the transient and volatile keywords in Java.

    From NPCI | Java Developer

  13. 13

    @ControllerAdvice for Global Exception Handling

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

    From NPCI | Java Developer

  14. 14

    Redis Sets and Use Cases

    Explain Redis Sets and discuss their typical use cases.

    From NPCI | Java Developer

  15. 15

    Explain K-means, Elbow Method, CNN vs LSTM, CNN vs ANN

    Explain concepts like K-means, the elbow method, CNN vs LSTM, and CNN vs ANN.

    From NPCI | IT Analyst

  16. 16

    Explain Joins, Outer Join, and provide Syntax

    Explain joins, Outer Join, and provide their syntax.

    From NPCI | IT Analyst

  17. 17

    What are Indexes in Databases?

    What are indexes in Databases?

    From NPCI | IT Analyst

  18. 18

    Difference between DELETE and Truncate

    Difference between DELETE and Truncate.

    From NPCI | IT Analyst

  19. 19

    Other Machine Learning Algorithms and Explanation

    What other Machine learning algorithms do you know? Explain one of them.

    From NPCI | IT Analyst

Npci interview questions FAQ

What questions are asked in Npci interviews?

Candidates reported 24 distinct questions across 2 Npci interviews. 5 coding and DSA questions, 19 other questions.