Given three numbers a, b, and c that forms a monotonically increasing function of the form a*x2 + b*x + c and two number A and… Read More

# Tag Archives: Maths

Given an array arr[] of N distinct integers points on the 2D Plane. The task is to count the number of Right-Angled Triangle from N… Read More

Given a regular polygon with N sides. The task is to find the count of polygons that can be drawn from the given polygon by… Read More

Given a large number N in the form of a string, the task is to determine the count of distinct numbers that can be formed… Read More

Given two decimal numbers num1 and num2, the task is to count the number of times carry operation is required while adding the two given… Read More

Given two integers A and X, denoting the length of a side of a rhombus and an angle respectively, the task is to find the… Read More

Given a number N, the task is to write C program to check if the given number is perfect cube or not. Examples: Input: N… Read More

Given a positive number N, the task is to check whether the given number N can be expressed in the form of ax + by… Read More

Given two numbers L and R, the task is to find two distinct minimum positive integers X and Y such that whose LCM lies in… Read More

Given a number N, the task is to find the number of ways in which the integer N can be represented as a sum of… Read More

Given an array of pairs arr[] of two numbers {N, M}, the task is to find the maximum count of common divisors for each pair… Read More

Given an integer X, the task is to find the possible values of Q for the pair (Q, R) such that their product is equal… Read More

Given an integer N representing the size of the matrix, the task is to construct a square matrix N * N which have an element… Read More

Given a Unix Timestamp T (in seconds) for a given point in time, the task is to convert it to human-readable format (DD/MM/YYYY HH:MM:SS) Example:… Read More

Given an array arr[] of Prime Numbers and a number M, the task is to count the number of elements in the range [1, M]… Read More