Program to calculate area of a parallelogram
Given integers A and B denoting length of sides of a parallelogram and Y that is the angle between the sides and length of diagonals… Read More »
Given integers A and B denoting length of sides of a parallelogram and Y that is the angle between the sides and length of diagonals… Read More »
Given a number N, the task is to count the number of triangles required to form a House of Cards of N levels. Examples: Input:… Read More »
Given two integers N and K, the task is to find the number of squares of size K that are inscribed in a square of… Read More »
Given two integers N and K, the task is to find the number of cubes of size K that can be cotained in a cube… Read More »
Given an integer N, the task is to find the total number of right angled triangles that can be formed such that the length of… Read More »
Given two integers N and M, the task is to find the vertex diagonally opposite to the Mth vertex of an N-sided polygon. Examples: Input:… Read More »
Given four integers L, B, l, and b, where L and B denote the dimensions of a bigger rectangle and l and b denotes the… Read More »
Given three integers as X, Y, and Z representing the three sides of a triangle, the task is to check whether the triangle formed by… Read More »
Given a matrix lines[][] of size N * 3, such that ith row denotes a line having the equation lines[i][0] * x + lines[i][1]*y =… Read More »
Given the coordinates of any two vertices of a square (X1, Y1) and (X2, Y2), the task is to find the coordinates of the other… Read More »
Given integers A, B, C, and D denoting the length of sides of a Cyclic Quadrilateral, the task is to find the circumradius i.e., the… Read More »
Given a matrix arr[][] of size N * 3 such that each row consists of 3 properties defining an element, i.e. (x-coordinate, y-coordinate, speed), and… Read More »
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 two binary arrays A[] and B[], of length N and M respectively, the task is to find the number of rectangles of area K… 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 »