## Determine the numer of squares that line will pass through

Given the 2 end points (x1, y1) and (x2, y2) of a line. The task is to determine the numer of squares that line will… Read More »

- Program to find Prime Numbers Between given Interval
- C program to find the length of a string
- Find the Nth term of the series 14, 28, 20, 40,.....
- Shortest path on a Square
- Find sum of a number and its maximum prime factor
- Program to check if two strings are same or not
- Program to Print Mirrored Hollow Parallelogram
- What is the difference between GUI and CUI?
- Program to find total number of edges in a Complete Graph
- Program to find N-th term of series 3, 5, 33, 35, 53....
- Program to find the Nth term of series -1, 2, 11, 26, 47......
- Maximum number of pieces in N cuts
- Program for Area Of Square after N-th fold
- Program to find Length of Bridge using Speed and Length of Train
- Count of buttons pressed in a keypad mobile
- Number of Hamiltonian cycle
- Smallest and Largest Palindrome with N Digits
- Find frequency of smallest value in an array
- Program to find Nth term of series 9, 23, 45, 75, 113...
- Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
- Program to find Nth term of the series 2, 4, 3, 4, 15...
- Replace the middle element of matrix with sum of surrounding elements
- Find the total Number of Digits in (N!)N
- Check whether the number can be made perfect square after adding 1
- Largest trapezoid that can be inscribed in a semicircle
- Program to calculate Profit Or Loss
- Check if the sum of digits of a number N divides it
- Convert a String into a square matrix grid of characters
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle
- Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle

Given the 2 end points (x1, y1) and (x2, y2) of a line. The task is to determine the numer of squares that line will… Read More »

Write a program to calculate double integral numerically. Example: Input: Given the following integral. where Output: 3.915905 Recommended: Please try your approach on {IDE} first,… Read More »

Given a string str, the task is to count how many times the keys will be pressed in total if there is a mobile like… Read More »

Given a NxN matrix. The task is to check if after reversing all of the rows of the given Matrix, the matrix remains same or… Read More »

Given a number N. The task is to find the smallest and largest palindromic number possible with N digits. Examples: Input: N = 4 Output:… Read More »

Given two integers a and b. The task is to find the number of digits before the decimal point in a / b. Examples: Input:… Read More »

Given a number N. The task is to find the smallest N digit ODD number. Examples: Input: N = 1 Output: 1 Input: N =… Read More »

Given an integer N, the task is to find the smallest and the largest N digit numbers which are also perfect cubes. Examples: Input: N… Read More »

Given an integer N, the task is to find the largest even and odd N-digit numbers. Examples: Input: N = 4 Output: Even = 9998… Read More »

Given a number N, the task is to find the smallest Even number with N digits. Examples: Input: N = 1 Output: 0 Input: N… Read More »

Given an integer N, the task is to check whether N the given number can be made a perfect square after adding 1 to it.… Read More »

Given an undirected complete graph of N vertices where N > 2. The task is to find the number of different Hamiltonian cycle of the… Read More »

Given two concentric circles with radius X and Y where (X > Y). Find the area between them. You are required to find the area… Read More »

Given an array A of N elements. Find the frequency of the smallest value in the array. Examples: Input : N = 5, arr[] =… Read More »

Given a matrix of size NxN. The task is to count the number of pair of indices (i, j) such that the sum of j-th… Read More »