Add office photos
Employer?
Claim Account for FREE

Newgen Software Technologies

3.7
based on 1.3k Reviews
Filter interviews by

20+ Nitidin ePaper Interview Questions and Answers

Updated 20 Jun 2024
Popular Designations
Q1. N-th Fibonacci Number

You are given an integer ‘N’, your task is to find and return the N’th Fibonacci number using matrix exponentiation.

Since the answer can be very large, return the answer modulo 10^9 +7.

Fi...read more
Ans.

The task is to find the Nth Fibonacci number using matrix exponentiation.

  • Use matrix exponentiation to efficiently calculate the Nth Fibonacci number

  • Return the answer modulo 10^9 + 7 to handle large numbers

  • Implement the function to solve the problem

  • The Fibonacci sequence starts with 1, 1, so F(1) = F(2) = 1

  • The time complexity can be improved to better than O(N) using matrix exponentiation

View 4 more answers
Q2. Relative Sorting

Given two arrays ‘ARR’ and ‘BRR’ of size ‘N’ and ‘M’ respectively. Your task is to sort the elements of ‘ARR’ in such a way that the relative order among the elements will be the same as those a...read more

Ans.

The task is to sort the elements of ARR in such a way that the relative order among the elements will be the same as those are in BRR. For the elements not present in BRR, append them in the last in sorted order.

  • Create a frequency map of elements in ARR

  • Iterate through BRR and for each element, append it to the result array the number of times it appears in ARR

  • Iterate through the frequency map and for each element not present in BRR, append it to the result array

  • Sort the resul...read more

View 4 more answers
Q3. Remove Duplicates from Sorted Array

You are given a sorted integer array' ARR' of size 'N'. You need to remove the duplicates from the array such that each element appears only once. Return the length of this ne...read more

Ans.

The task is to remove duplicates from a sorted integer array in-place and return the length of the modified array.

  • Use two pointers, one for iterating through the array and another for keeping track of the unique elements.

  • Compare the current element with the next element. If they are the same, move the second pointer forward.

  • If they are different, update the first pointer and replace the element at the first pointer with the unique element.

  • Continue this process until the end o...read more

View 2 more answers
Q4. Maximum Subarray Sum

You are given an array (ARR) of length N, consisting of integers. You have to find the sum of the subarray (including empty subarray) having maximum sum among all subarrays.

A subarray is a ...read more

View 5 more answers
Discover Nitidin ePaper interview dos and don'ts from real experiences
Q5. What is Client Server Architecture ?

Client-Server Architecture is a computing model in which the server hosts, delivers, and manages most of the resources and services to be consumed by the client. This type of...read more

Add your answer
Q6. Check Palindrome

Ninja is given an integer ‘N’. Ninja wants to find whether the binary representation of integer ‘N’ is palindrome or not.

A palindrome is a sequence of characters that reads the same backward as...read more

Add your answer
Are these interview questions helpful?
Q7. Add two number as linked lists

You have been given two singly Linked Lists, where each of them represents a positive number without any leading zeros.

Your task is to add these two numbers and print the summatio...read more

View 2 more answers
Q8. Reverse String Word Wise

Reverse the given string word-wise. The last word in the given string should come at 1st place, the last-second word at 2nd place, and so on. Individual words should remain as it is.

Inp...read more
Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. What are asynchronous functions?

Functions running in parallel with other functions are called asynchronous
A good example is JavaScript setTimeout().

Give an example of an Asynchronous function.
setTimeout(myFunc...read more

Add your answer
Q10. Joins and Types of Joins

A JOIN clause is used to combine rows from two or more tables, based on a related column between them.

1.) INNER JOIN: Returns records that have matching values in both tables
2.) LEFT (OU...read more

Add your answer
Q11. SQL Questions

1. What is primary, candidate and foreign key.
2. Write a query to join three tables.

Ans.

Primary key uniquely identifies a record in a table. Candidate key is a unique key that can be chosen as the primary key. Foreign key establishes a link between two tables.

  • Primary key ensures uniqueness and is used to identify records in a table.

  • Candidate key is a unique key that can be chosen as the primary key.

  • Foreign key establishes a relationship between two tables based on the values of the primary key in one table and the corresponding values in another table.

View 1 answer
Q12. Java Questions

Difference between equal and equals.

Difference between overloading and overriding.

What is inheritance.

What types of inheritance are supported by java.

Ans.

equal is a keyword used for assignment, equals is a method used for comparing objects.

  • equal is used for assigning a value to a variable

  • equals is used for comparing objects for equality

  • Example: int x = 5; String s1 = "hello"; String s2 = new String("hello"); s1.equals(s2) returns true

View 1 answer
Q13. Psychometric test

Psychometric tests are used to measure an individual's' mental capabilities and behaviour. It was designed to check student overall suitability for a particular role based on performance in the...read more

Ans.

Psychometric tests are used to measure mental capabilities and behavior for assessing suitability for a role.

  • Psychometric tests measure mental capabilities and behavior

  • They assess suitability for a particular role

  • They check personality characteristics and aptitude/cognitive ability

Add your answer
Q14. What is cloud computing? Why is it gaining popularity? Do you feel physical storage will be replaced by cloud storage one day?
Add your answer

Q15. 1. What is triggers 2. Difference between method overloading and method overriding 3. Ask me to code five numbers in ascending order 4.ask me to code prime or not 5. Difference between final and finally keyword...

read more
Ans.

Interview questions for Software Developer on triggers, method overloading/overriding, sorting, prime numbers, final/finally keyword, and normalization.

  • Triggers are database objects that are automatically executed in response to certain events.

  • Method overloading is having multiple methods with the same name but different parameters, while method overriding is having a subclass method with the same name and parameters as a superclass method.

  • Sorting five numbers in ascending or...read more

Add your answer
Q16. Aptitude Questions

This section consists of 25 questions from the topics like algebra, probability, permutation & combination, time & work, time, speed & distance, arithmetic, percentages, profit & loss, HCF, LC...read more

Add your answer
Q17. Is multiple inheritance possible in Java. If so, how?
Add your answer

Q18. Why do we use Static in java

Ans.

Static keyword in Java is used to create class-level variables and methods.

  • Static variables are shared among all instances of a class

  • Static methods can be called without creating an instance of the class

  • Static blocks are used to initialize static variables

  • Static import is used to import static members of a class

View 1 answer

Q19. What is Singleton Class?

Ans.

A Singleton Class is a class that can only have one instance and provides a global point of access to it.

  • Singleton Class restricts the instantiation of a class to a single object.

  • It is used when only one instance of a class is required throughout the system.

  • It provides a global point of access to the instance.

  • It is implemented by making the constructor private and providing a static method to access the instance.

  • Examples include Logger, Configuration Manager, and Database Con...read more

Add your answer

Q20. Write Program with Singleton class

Ans.

Singleton class ensures only one instance of a class is created and provides a global point of access to it.

  • Create a private constructor to prevent direct instantiation of the class

  • Create a private static instance of the class

  • Create a public static method to get the instance of the class

  • Ensure thread safety by using synchronized keyword or static initialization

  • Example: Database connection manager

Add your answer

Q21. Internal working of Hashmap

Ans.

Hashmap is a data structure that stores key-value pairs and uses hashing to retrieve values quickly.

  • Hashmap uses an array to store the key-value pairs

  • The keys are hashed to generate an index in the array

  • If two keys hash to the same index, a linked list is used to store the values

  • Retrieving a value involves hashing the key to find the index and then traversing the linked list if necessary

Add your answer

Q22. What are constructor?

Ans.

Constructors are special methods in a class that are used to initialize objects.

  • Constructors have the same name as the class they belong to.

  • They are called automatically when an object is created.

  • Constructors can have parameters to initialize object properties.

  • Example: public class Person { public Person(String name) { this.name = name; }}

Add your answer

Q23. Define Opps concept

Ans.

OOPs concept stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.

  • OOPs focuses on creating objects that contain both data and methods to manipulate that data.

  • Encapsulation, inheritance, polymorphism, and abstraction are the four main principles of OOPs.

  • Example: Inheritance allows a class to inherit properties and behavior from another class, promoting code reusability.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Nitidin ePaper

based on 7 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

4.2
 • 136 Interview Questions
3.7
 • 18 Interview Questions
3.6
 • 15 Interview Questions
4.0
 • 13 Interview Questions
4.1
 • 12 Interview Questions
3.8
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter