Find a triplet in array whose sum is equal to zero...

Given an array of integers (positive and negative numbers) and you have to find a triplet (3 elements) in array whose sum is equal...
Find elements pair from array whose sum equal to number

Find elements pair from array whose sum equal to number

Write a program to find a pair sum in array equal to given input number. Pair sum equal to a given numberTime Complexity: O(NlogN) Space Complexity: O(1) Concept:Let say...

Latest Interview Questions

Binary Tree Level order traversal in Java

Level order traversal or breadth first traversal is traversing the same level nodes of a tree then move to next level. We...

Java program to find the number of Nodes in a Binary Tree

Total number of nodes in a binary tree is known as a size of a tree. We have to write a program in Java...

Install Java 11 – How to install Java on Windows Mac and Linux

About Java 11 It is advised to use Java 11 JDK which is a latest version of Java development kit in 2018. JDK helps you...

Java Thread

Java Threads BenefitsThreads are light weight when compared to process Threads takes less time to create than process Threads consume less resources than...
Process vs Thread

Difference between Process and Thread in Java

Difference between process and thread in java is the mostly asked interview question during job interviews. We have discussed about Process and Thread in...

Multithreading in Java

Multithreading in Java is a very interesting topic. Here we are giving you the details of Concurrency in Java, Process, Threads in Java. Concurrency in...
Sub Array With Maximum Sum

Sub Array with Maximum Sum – Kadane Algorithm

This is one of the mostly asked question during interviews. Here interviewer loves to see linear algorithmic approach of yours. Yes you can find...
Reverse an Array

Write a program to Reverse an Array

Array is the sequential collection of similar elements. Array is a fixed size data structure. Arrays can be accessed by index which starts from...

Follow us

0FansLike

Most commented

Latest in Java

Food & recipes