## Minimum Cost Graph

Given N nodes on a 2-D plane represented as (xi, yi). The nodes are said to be connected if the manhattan distance between them is… Read More »

- Find the number of pair of Ideal nodes in a given tree
- Equal Sum and XOR of three Numbers
- Count number of ways to reach destination in a Maze using BFS
- Count of triplets that satisfy the given equation
- Write a function to get the intersection point of two Linked Lists | Set 2
- Insertion in n-ary tree in given order and Level order traversal
- String Range Queries to find the number of subsets equal to a given String
- Print nodes having maximum and minimum degrees
- Implementing a BST where every node stores the maximum number of nodes in the path till any leaf
- Van Emde Boas Tree | Set 1 | Basics and Construction
- Red-Black Trees | Top-Down Insertion
- Number of triplets in array having subarray xor equal
- Minimum distance to visit all the nodes of an undirected weighted tree
- m-WAY Search Trees | Set-1 ( Searching )
- Pre-Order Successor of all nodes in Binary Search Tree
- Widest Path Problem | Practical application of Dijkstra's Algorithm
- Van Emde Boas Tree | Set 2 | Insertion, Find, Minimum and Maximum Queries
- Find maximum count of duplicate nodes in a Binary Search Tree
- Implementing Generic Graph in Java
- Twisted Tower of Hanoi Problem
- Pairing Heap
- Minimum characters that are to be inserted such that no three consecutive characters are same
- Minimum value to be assigned to the elements so that sum becomes greater than initial sum
- Implementation of Non-Preemptive Shortest Job First using Priority Queue
- Proto Van Emde Boas Trees | Set 4 | Deletion
- Sorting Algorithms Visualization | Selection Sort
- Queries to find the left-most given type integer in a binary array
- Van Emde Boas Tree - Set 3 | Successor and Predecessor
- Proto Van Emde Boas Tree | Set 6 | Query : Successor and Predecessor
- Van Emde Boas Tree | Set 4 | Deletion

Given N nodes on a 2-D plane represented as (xi, yi). The nodes are said to be connected if the manhattan distance between them is… Read More »

Given a graph with N nodes having values either P or M. Also given K pairs of integers as (x, y) representing the edges in… Read More »

Given two integers N and M, the task is to find the number of pairs of arrays (A, B) such that array A and B… Read More »

Given a string str, the task is to check if this string contains only whitespaces or some text, in Java. Examples: Input: str = “… Read More »

Given a string str, the task is to check if this string is null or not, in Java. Examples: Input: str = null Output: True… Read More »

Given a string str, the task is to check if this string is empty or not, in Java. Examples: Input: str = “” Output: True… Read More »

HashTable: Hashtable is designed to use a special function called the Hash function which is used to map a given value with a particular key for… Read More »

Given two strings str and str1, the task is to check whether one string can be converted to other by using the following operation: Convert… Read More »

The Floyd-Rivest algorithm is a selection algorithm used to find the kth smallest element in an array of distinct elements. It is similar to the… Read More »

Given an integer N, the task is to find the minimum integer that can be obtained from the given integer such that the adjacent digits… Read More »

Jaro Similarity Jaro Similarity is the measure of similarity between two strings. The value of Jaro distance ranges from 0 to 1. where 1 means… Read More »

Given an integer N, the task is to count the number of binary strings possible such that there is no substring of length ≥ 3… Read More »

Given an array arr[] of distinct positive elements, the task is to find the number of unique pairs (a, b) such that a is the… Read More »

Given an array of length N and an integer K. The task is to find the maximum length L such that all the subarrays of… Read More »

Given a space-separated string str, the task is to find the first substring whose reverse is a word in the string. All characters of the… Read More »