## Permutations of n things taken r at a time with k things together

Given n, r and K. The task is to find the number of permutations of different things taken at a time such that specific things… Read More »

- Combination and Permutation Practice Questions | Set 1
- Count unique subsequences of length K
- Program to calculate the value of nCr Efficiently
- Queries of nCr%p in O(1) time complexity
- Print all distinct integers that can be formed by K numbers from a given array of N numbers
- Problem on permutations and combinations | Set 2
- Number of permutations of a string in which all the occurrences of a given character occurs together
- Different ways to represent N as sum of K non-zero integers
- Check if any permutation of N equals any power of K
- Number of integral solutions of the equation x1 + x2 +.... + xN = k
- Number of arrays of size N whose elements are positive integers and sum is K
- Minimum difference between the highest and the smallest value of mines distributed
- Sudo Placement[1.3] | Final Destination
- Check if two Linked Lists are permutations of each other
- Number of ways to form an array with distinct adjacent elements
- Minimum number of prefix reversals to sort permutation of first N numbers
- QA - Placement Quizzes | Permutation and Combination | Question 1
- Permutations to arrange N persons around a circular table
- QA - Placement Quizzes | Permutation and Combination | Question 5
- Minimum number of operations to convert a given sequence into a Geometric Progression
- Print all the combinations of N elements by changing sign such that their sum is divisible by M
- Permutation of an array that has smaller values from another array
- QA - Placement Quizzes | Permutation and Combination | Question 3
- QA - Placement Quizzes | Permutation and Combination | Question 8
- Number of triangles in a plane if no more than two points are collinear
- QA - Placement Quizzes | Permutation and Combination | Question 9
- QA - Placement Quizzes | Permutation and Combination | Question 7
- QA - Placement Quizzes | Permutation and Combination | Question 10
- QA - Placement Quizzes | Permutation and Combination | Question 12
- QA - Placement Quizzes | Permutation and Combination | Question 11

Given n, r and K. The task is to find the number of permutations of different things taken at a time such that specific things… Read More »

Given a positive integer N and K where and . The task is to check whether any permutation of digits of N equals any power… Read More »

Given two arrays A and B of equal size. The task is to print any permutation of array A such that the number of indices… Read More »

Given a string ‘s’ and a character ‘c’, the task is to find the number of permutations of the string in which all the occurrences… Read More »

Given n companies and m oil mines having values, the task is to distribute the mines among n companies in a fair manner. That is… Read More »

Given two singly Linked list of integer data. The task is to write a program that efficiently checks if two linked lists are permutations of… Read More »

Given two numbers n, r ( n>=r ). The task is to find the value of C(n, r) for big value of n. Examples: Input:… Read More »

Given N, the number of persons. The task is to arrange N person around a circular table. Examples: Input: N = 4 Output: 6 Input:… Read More »

Given N and K. The task is to count the number of the integral solutions of a linear equation having N variable as given below:… Read More »

Given an array of N numbers and an integer K. The task is to print the number of unique subsequences possible of length K. Examples:… Read More »

Given an array of N integers and an integer M. You can change the sign(positive or negative) of any element in the array. The task… Read More »

Given an array of integers and a number K with initial and final values. Your task is to find the minimum number of steps required… Read More »

Given N positions, the task is to count the total number of ways to place X and Y such that no two X are together.… Read More »

Given three integers N, M and X, the task is to find the number of ways to form an array, such that all consecutive numbers… Read More »

Given n points in a plane and no more than two points are collinear, the task is to count the number of triangles in a… Read More »