# Program to print all the prime numbers between given range in Java

Posted by Nilendra Kumar | Updated on | Java

In this example, I have shared a Java program to print all the prime numbers between given range. This program takes two input numbers a and b as interval range, and finds find all the …

# How to perform insertion and deletion of data using linked list in Java

Posted by Nilendra Kumar | Updated on | Java

In this answer, I have shared how to perform insertion and deletion of data using linked list using Java. A linked list is a linear collection of data elements, whose order is not given by …

# How to find the highest length of substring without repeating characters?

Posted by Nilendra Kumar | Updated on | Java

Problem Write a program to find the highest length of substring without repeating characters from given string using Java. Solutions Program Output Note that the answer must be a substring, “pwke” is a subsequence and …

# How to find nth highest salary of employees in Java?

Posted by Nilendra Kumar | Updated on | Java

If you want to how to find nth highest salary of employees in Java? Create 10 object for the class Employee which will have name, salary and id and find the nth highest salary employee …

# How to find all the possible pair whose sum is = n?

Posted by Nilendra Kumar | Updated on | Java

Problem: Find all the possible pair whose sum is = n [Eg: 9] and find the position (against original data) of all possible pair whose sum is = n [Eg: 9] Solution: Copy the below …