## Check if the string contains consecutive letters and each letter occurs exactly once

Given string str. The task is to check if the string contains consecutive letters and each letter occurs exactly once. Examples: Input: str = “fced”… Read More »

- Maximum absolute difference in an array
- Program to find the Nth Prime Number
- Predict the winner in Coin Game
- Check whether the triangle is valid or not if angles are given
- Count of quadruplets with given Sum
- Check whether the given string is a valid identifier
- Largest and smallest digit of a number
- Minimum steps required to convert the matrix into lower hessenberg matrix
- Blog | Programming Guidelines
- Find the volume of rectangular right wedge
- Number of positions such that adding K to the element is greater than sum of all other elements
- Find number of magical pairs of string of length L
- Find the sum of the first half and second half elements of an array
- Find the character made by adding all the characters of the given string
- Count the number of occurrences of a particular digit in a number
- Check whether Quadrilateral is valid or not if angles are given
- Compare sum of first N-1 elements to Nth element of an array
- Ratio of the distance between the centers of the circles and the point of intersection of two direct common tangents to the circles
- Find the first N integers such that the sum of their digits is equal to 10
- Minimum number of steps to convert a given matrix into Upper Hessenberg matrix
- Generate an array having Bitwise AND of the previous and the next element
- Find the sum of Eigen Values of the given N*N matrix
- Find the height of a right-angled triangle whose area is X times its base
- Find the remainder when First digit of a number is divided by its Last digit
- Program to find the number of men initially
- Distance between two parallel lines
- Area of triangle formed by the axes of co-ordinates and a given straight line
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Find the Diameter or Longest chord of a Circle
- Total number of days taken to complete the task if after certain days one person leaves

Given string str. The task is to check if the string contains consecutive letters and each letter occurs exactly once. Examples: Input: str = “fced”… Read More »

Given two integers x and y and where x is divisible by y. It can be represented in the form of a fraction x/y. The… Read More »

Given that a certain amount of money becomes T1 times itself in N1 years. The task is to find the number of years i.e. N2… Read More »

Given here is a rectangle of length l & breadth b, the task is to find the area of the biggest ellipse that can be… Read More »

Given an array arr[] that contain the lengths of n sides that may or may not form a polygon. The task is to determine whether… Read More »

Given an array arr[], the task is increment all the odd positioned elements by 1 and decrement all the even positioned elements by 1. Examples:… Read More »

Given a regular polygon of N sides with side length a. The task is to find the area of the Circle which inscribed in the… Read More »

Given an array arr[] of n elements, the task is to replace all the odd positioned elements with their cubes and even positioned elements with… Read More »

Given 2 endpoints (x1, y1) and (x2, y2) of a line, the task is to determine the number of squares of the unit area that… 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 »