Skip to content

Tag Archives: Maths

Mathematics is a subject that is associated with numbers and calculations. And, according to the type of calculation mathematics is divided into different branches like… Read More
Mathematics is a subject that is associated with numbers and calculations. And, according to the type of calculation mathematics is divided into different branches like… Read More
Given an array, arr[] of N elements and an integer K, the task is to find the number of pairs (i, j) such that the… Read More
Given two positive integers L and R representing a range. The task is to find the minimum and maximum possible LCM of any pair (i,… Read More
Given two positive integers N and K. The task is to find the Kth number that can be written as the sum of different non-negative… Read More
Given two strings str1 and str2 of same length N, the task is to check if there exists any permutation possible in any of the… Read More
Given an array arr[] of N integers, the task is to find the minimum number of the moves needed to sort the array in ascending… Read More
Given an array arr[ ] of size N and an integer p, the task is to find maximum possible value of rightmost element of array… Read More
Given an array arr[] of N integers, the task is to find the number of unordered pairs (i, j) in the array such that the… Read More
Given an integer X, D and T, the task is to check if it is possible to reduce X to 0 in exactly T moves.… Read More
This article is focused on discussing the proof that there is no rational number whose square is 2. Before starting the proof, let’s get familiar… Read More
Given an integer N, the task is to print all possible Full Binary Trees with N nodes. The value at the nodes does not contribute… Read More
Given two integers A and B, the task is to find the minimum number of moves needed to make A equal to B by incrementing… Read More
Given an unweighted and undirected graph consisting of N nodes and two integers a and b. The edge between any two nodes exists only if… Read More
Given a string, str of length N and a character X, the task is to find the maximum count of characters X that are to… Read More

Start Your Coding Journey Now!