## Find the other-end coordinates of diameter in a circle

Given Center coordinate (c1, c2) and one coordinate (x1, y1) of the diameter of a circle, find the other end coordinate point (x2, y2) of… Read More »

Given Center coordinate (c1, c2) and one coordinate (x1, y1) of the diameter of a circle, find the other end coordinate point (x2, y2) of… Read More »

Given the value of n, print the following pattern. Examples : Input : n = 4 Output : A1 AB12 ABC123 ABCD1234 Input : n… Read More »

We are given a number n, we need to find n-th centered Icosahedral number. Description: A centered icosahedral number is a centered figurate number that… Read More »

Given two points coordinates (x1, y1) and (x2, y2)on 2D plane. The task is to find the reflection of (x1, y1) at 180 degree rotation… Read More »

Given coordinates of two pivot points (x0, y0) & (x1, y1) in coordinates plane. Along with each pivot, two different magnets are tied with the… Read More »

Given a matrix of size n x n. The task is to check whether the given matrix is Centrosymmetric Matrix or not. In mathematics, a… Read More »

Given different scored marks of students. We need to find grades. The test score is an average of the respective marks scored in assignments, tests… Read More »

The Latin Alphabet Cipher Encryption Technique is one of the earliest and simplest techniques of encrypting data. It’s simply a type of substitution cipher technique,… Read More »

Prerequisite – PL/SQL introduction In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare part,… Read More »

Program to print the hollow numerical parallelogram. Examples: Input : 7 Output : 7777777777777 666666 666666 55555 55555 4444 4444 333 333 22 22 1… Read More »

There are two people that start from two different positions, let’s say x1 and x2. Both can jump v1 and v2 meters ahead respectively. We… Read More »

Floyd’s triangle is a triangle with first natural numbers. Task is to print reverse of Floyd’s triangle. Examples: Input : 4 Output : 10 9… Read More »

You are given the slope of one line (m1) and you have to find the slope of another lie which is perpendicular to the given… Read More »

Given n points, we need to check if these n points are parallel to X axis or Y axis or to No axis. Examples: Input… Read More »

Given the integer N, the task is to print all the numbers less than N, which are divisible by 3 and 5. Examples : Input… Read More »