## Number of Hamiltonian cycle

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 »

- Maximum absolute difference in an array
- Predict the winner in Coin Game
- Program to find the Nth Prime Number
- Check whether the triangle is valid or not if angles are given
- Check if it is possible to create a polygon with given n sides
- Check if the string contains consecutive letters and each letter occurs exactly once
- Elements greater than the previous and next element in an Array
- Capitalize the first and last character of each word in a string
- Count of buttons pressed in a keypad mobile
- Reduce the fraction to its lowest form
- Smallest and Largest Palindrome with N Digits
- Remove the first and last character of each word in a string
- Count of quadruplets with given Sum
- Determine the number of squares of unit area that a given line will pass through.
- Program to calculate Double Integration
- Check whether the given string is a valid identifier
- Increment odd positioned elements by 1 and decrement even positioned elements by 1 in an Array
- Number of positions such that adding K to the element is greater than sum of all other elements
- Find the volume of rectangular right wedge
- Count of elements whose absolute difference with the sum of all the other elements is greater than k
- Minimum steps required to convert the matrix into lower hessenberg matrix
- Program to calculate the number of odd days in given number of years
- Blog | Programming Guidelines
- Find number of magical pairs of string of length L
- Find the sum of the number of divisors
- Smallest Even number with N digits
- Find the sum of the first half and second half elements of an array
- Check whether Quadrilateral is valid or not if angles are given
- Largest and smallest digit of a number
- Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles

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 »

Given side of a square n and two points (x1, y1) and (x2, y2) on the boundaries of the given square. The task is to… Read More »

Given an integer array marks, which comprises of marks scored by a student (out of 100) in different subjects, the task is to assign a… Read More »

Given here is a frustum of height h, top-radius r & base-radius R, which inscribes a right circular cylinder which in turn inscribes a sphere… Read More »

Given a String of three Colours(G, B, Y) as input, the task is to print the resultant combined colour formed according to the rule given… Read More »

Given here is a semicircle of radius r which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

Given here is an equilateral triangle of sidelength a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find… Read More »

A square is a flat shape, in one plane, defined by four points at the four corners. A square has four sides all of equal… Read More »

Given two strings, the task is to check if these two strings are identical(same) or not. Examples: Input: string1 = “GeeksforGeeks”, string2 = “GeeksforGeeks” Output:… Read More »

Given a regular polygon of N sides with radius(distance from the center to any vertex) R. The task is to find the area of the… Read More »

Given a regular polygon of N sides with side length a. The task is to find the area of the polygon. Examples: Input : N… Read More »

Given a string of length L. The task is to convert the string into a grid. No. of rows >= floor(√L) No. of columns <=… Read More »