Prerequisites: Diameter of a N-ary tree Path between two nodes in a graph Given a N-ary tree with N nodes numbered from 0 to N-1… Read More »

Prerequisite: Introduction of B+ trees In this article, we will discuss that how to insert a node in B+ Tree. During insertion following properties of… Read More »

Given two integers X and Y, find the minimal number with the sum of digits X, which is strictly greater than Y. Examples: Input: X… Read More »

Given a binary tree of N nodes, the task is to print level order traversal in a spiral form. In spiral form, nodes at the… Read More »

Wallets are just like your bank account, through which we can receive money, send money, and can check the balance. Important terms: uint- unsigned integer.… Read More »

A Duck that is being chased by a Fox saves itself by sitting at the centre of a circular pond of radius r. The Duck… Read More »

If you are a newbie in machine learning you may have thought that what programming language should I learn? Nowadays different peoples are working with… Read More »

Given two N-ary trees having M nodes each. Also, given their edges and their roots respectively. The task is to check if they are isomorphic… Read More »

Binary Space Partitioning is implemented for recursively subdividing a space into two convex sets by using hyperplanes as partitions. This process of subdividing gives rise… Read More »

Given a string htmlCode which is HTML code of a webpage, the task is to find the missing end tag in the HTML code. Examples:… Read More »

Given an array arr[] of size N containing integers. The task is to find the length of the longest sub-array having sum equal to the… Read More »

In this layout, we will learn to add Slidr Library in android. This library is used to create attractive animation when user switch from one… Read More »

MariaDB is one of the most popular open-source relational database management system and could be used as a great replacement of MySQL. It is developed… Read More »

Given an undirected and unweighted graph and two nodes as source and destination, the task is to print all the paths of the shortest length… Read More »

Given two strings S and T and a number K, the task is to count the number of ways to convert string S to string… Read More »

Given an unsorted array arr[] of N integers that are in Arithmetic Progression, the task is to print the missing element from the given series.… Read More »

Given Bitwise AND, OR, and XOR of N elements of an array denoted by a, b, c. The task is to find the elements of… Read More »

Given an arr[] of length N, the task is to find the length of longest Reverse Bitonic Subsequence. A subsequence is called Reverse Bitonic if… Read More »

Given an array arr[] of N integers and a number K, the task is to find the sum of absolute difference of all pairs raised… Read More »

Given a positive integer N, the task is to find the sum of divisors of first N natural numbers. Examples: Input: N = 4 Output:… Read More »