# Tag Archives: school-programming (adsbygoogle = window.adsbygoogle || []).push({});

## Check whether the triangle is valid or not if angles are given

Given three integers A, B and C which are the three angles of a possible triangle in degrees, the task is to check whether the… Read More »

## Largest and smallest digit of a number

Given a number N. The task is to find the largest and the smallest digit of the number. Examples : Input : N = 2346… Read More »

## Find the height of a right-angled triangle whose area is X times its base

Given that the area of a right-angled triangle is X times its base b. The task is to find the height of the given triangle.… Read More »

## Find the volume of rectangular right wedge

A right wedge is a wedge with parallel side triangles. It have two side bases a and b, top edges e and height h. The… Read More »

## Find the sum of Eigen Values of the given N*N matrix

Given an N*N matrix mat[][], the task is to find the sum of Eigen values of the given matrix. Examples: Input: mat[][] = { {2,… Read More »

## Minimum steps required to convert the matrix into lower hessenberg matrix

Given a matrix of order NxN, Find the minimum number of steps to convert given matrix into Lower Hessenberg matrix. In each step, the only… Read More »

## Minimum number of steps to convert a given matrix into Upper Hessenberg matrix

Given a matrix of order NxN, Find the minimum number of steps to convert given matrix into Upper Hessenberg matrix. In each step, the only… Read More »

## Find the number which when added to the given ratio a : b, the ratio changes to c : d

Given four integers a, b, c and d. The task is to find the number X which when added to the numbers a and b… Read More »

## Total number of days taken to complete the task if after certain days one person leaves

Given that person A takes a days to do a certain piece of work while person B takes b days to do the same work.… Read More »

## Program to find the number of men initially

A certain number of men can do a certain piece of work in D days. If there were m more men engaged in the work… Read More »

## Blog | Programming Guidelines

Computer programming is a process of writing an executable computer program for accomplishing a specific computer task. Although writing the programs is an art, however,… Read More »

## Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles

Given two circles of given radii, such that the circles don’t touch each other, the task is to find the ratio of the distance between… Read More »

## Compare sum of first N-1 elements to Nth element of an array

Given an array arr[] of size N, the task is to check whether the sum of first N – 1 element of the array is… Read More »

## Number of positions such that adding K to the element is greater than sum of all other elements

Given an array arr[] and a number K. The task is to find out the number of valid positions i such that (arr[i] + K)… Read More »

## Find number of magical pairs of string of length L

A pair of string s and r are called magical if for every index i the character of s is less than r i.e. s[i]… Read More »