Skip to content

Tag Archives: Ratio and Proportion

Given an array arr[] of length N the task is to find the minimum number of elements to be added in the array such that… Read More
Given a positive integer K and an array arr[] consisting of {numerator, denominator} of N fractions, the task is to find the sum of the… Read More
Given an array arr[] consisting of N pairs of the form {A, B}, the task is to count the pairs of indices (i, j) such… Read More
Given two integers L and R, the task is to find the count of unordered pairs of integers (A, B) in the range [L, R]… Read More
Comparing quantities is easy, each of the quantities is defined to a specific standard and then the comparison between them takes place after that. Comparing… Read More
Given an array arr[] of N numbers, the task is to find the largest ratio of contiguous subarray from the given array.  Examples:  Input: arr… Read More
Given an array arr[] of positive integers, the task is to find the ratio of LCM and GCD of the given array.Examples:  Input: arr[] =… Read More
Given four integers a, b, c and d. The task is to check whether it is possible to pair them up such that they are… Read More
Given a ratio a : b of two unknown numbers. When both the numbers are incremented by a given integer x, the ratio becomes c… Read More
Given two rectangles, X with a ratio of length to width a:b and Y with a ratio of length to width c:d respectively. Both the… Read More
Write a program to find the ratio in which a shopkeeper will mix two types of rice worth Rs. kg and Rs. kg, so that the average… Read More
Given a:b and b:c. The task is to write a program to find ratio a:b:cExamples:   Input: a:b = 2:3, b:c = 3:4 Output: 2:3:4 Input:… Read More
Felix and Adam win Rs 1210 together. 4/15 of Felix’s share is same as 2/5 of Adam’s share. How much did Adam win? (A) Rs… Read More
Syrup and Water are mixed in 2:1 ratio to form 60 litres of a mixture. How much water needs to be added to make the… Read More

Start Your Coding Journey Now!