## Increasing sequence with given GCD

Given two integers n and g, the task is to generate an increasing sequence of n integers such that: The gcd of all the elements… Read More »

- Logic Gates in Python
- Print matrix in snake pattern from the last column
- Find the total guests that are present at the party
- Program to print Step Pattern
- Program to check if two strings are same or not
- Interchange elements of first and last columns in matrix
- Print numbers in matrix diagonal pattern
- Program to print the given Z Pattern
- Python Program to print digit pattern
- Programs for printing pyramid patterns using recursion
- Replace array elements by sum of next two consecutive elements
- How to Read and Print an Integer value in Java
- Print matrix in zig-zag fashion from the last column
- Logarithm
- Count the number of holes in an integer
- Cost of painting n * m grid
- Program to check if an Array is Palindrome or not
- How to concatenate two Integer values into one?
- Program to print the given H Pattern
- Program to convert given Matrix to a Diagonal Matrix
- Count Odd and Even numbers in a range from L to R
- Python program to check if given string is vowel Palindrome
- Print last character of each word in a string
- Find maximum element of each column in a matrix
- Find the multiple of x which is closest to a^b
- Program to check if a number is divisible by sum of its digits
- Program to find nth term of the series 1 4 15 24 45 60 92
- Check whether the given character is in upper case, lower case or non alphabetic character
- Check if a binary string contains consecutive same or not
- Difference between print() and println() in Java

Given two integers n and g, the task is to generate an increasing sequence of n integers such that: The gcd of all the elements… Read More »

Given two integers a and b. Now, c can be found as a + b = c. The task is to check if the equation… Read More »

Given an integer N and a pizza which can be cut into pieces, each cut should be a straight line going from the center of… Read More »

Given an integer N, the task is to check whether the number is divisible by the sum of its digits or not. If divisible, then… Read More »

Given an integer num, the task is to count the number of holes in that number. The holes in each digit are given below: Digit… Read More »

Given an integer X and a square matrix mat[][], the task is to remove the first X rows and columns from the given matrix and… Read More »

Given an empty glass, this glass has to be filled with water and the task is to find the maximum amount of water that the… Read More »

Let’s see a basic linear search operation on Python list and tuples. A simple approach is to do linear search, i.e Start from the leftmost… Read More »

Given a character, the task is to check whether the given character is in upper case, lower case or non-alphabetic character Examples: Input: ch =… Read More »

Given a number . The task is to print the multiples of the unit digit of N from the unit digit of N to N.… Read More »

Given Mth and Nth term of a Geometric progression. Find its Pth term. Examples: Input: m = 10, n = 5, mth = 2560, nth… Read More »

print(): print() method in Java is used to display a text on the console. This text is passed as the parameter to this method in… Read More »

Given Mth and Nth term of an arithmetic progression. The task is to find the sum of its first p terms. Examples: Input: m =… 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 »

The program must accept a string S and an integer N as the input. The program must print the desired pattern as shown below: Examples:… Read More »