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

# Tag Archives: Maths

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

Given an array A[] and a positive integer X. The task is to find the absolute difference between the floor of the total sum divided… Read More

Given a positive integer N, the task is to find the largest positive number made up of distinct digits having the sum of its digits… Read More

Given four integers a, b, c, and d, which represents the coefficient of the equation of the plane ax + by + cz + d… Read More

Given four integers a, b, c and d, representing coefficients of a straight line with equation (ax + by + c = 0), the task… Read More

In this article, we will learn about the calculation of the standard deviation(std) in Excel. First, let’s learn about Standard Deviation. In real-life scenarios, we… Read More

Given an array arr[] of size N (1 ≤ N ≤ 105), the task is to find the number of ways to select triplet i,… Read More

Given a binary string S of length N (1 ≤ N ≤ 105), the task is to print a permutation A consisting of integers 0… Read More

Given two integers L and R, the task is to find the count of numbers in the range [L, R] having prime digits at prime… Read More

Given two integers X and Y, the task is to make both the integers equal by performing the following operations any number of times: Increase… Read More

Given two strings S and T representing non-negative rational numbers, the task is to check if the values of S and T are equal or… Read More