
Search the subarray with the maximum/minimum sum
Here, we consider the problem of finding a subarray with maximum sum, as well as some of its variations (including the algorithm for solving this […]
Here, we consider the problem of finding a subarray with maximum sum, as well as some of its variations (including the algorithm for solving this […]
Given an undirected graph $G$ with $n$ nodes and $m$ edges. We are required to find in it all the connected components, i.e, several groups […]
Given $n$ line segments on the plane. It is required to check whether at least two of them intersect with each other. If the answer […]
This is a java program to perform search using DFA. Here is the source code of the Java Program to Perform Finite State Automaton based […]
This is a Java Program to perform search an element in the binary search tree. Here is the source code of the Java Program to […]
Problem Description Given a graph in the form of an adjacency matrix and a source vertex, write a program to perform a breadth-first search of […]
This is a java program to search a number using Fibonacci Sequence. The Fibonacci search technique is a method of searching a sorted array using […]
This is a java program to search an element using Binary Search Tree. A regular tree traversal algorithm is implemented to search an element. We […]