# Tag Archives: Permutation and Combination

Given integer N and K, denoting the number of teams participating in a football tournament where each team plays only one match with each other… Read More
Given two integers N and X, the task is to convert 1 to N using minimum operations of any of the following operations: Change a… Read More
Given an integer target which represents the total distance to be covered by a car on a straight road. Given another array, station[] of size… Read More
Given a tree of N vertices, the task is to find the number of pairs of vertices such that the distance between them is even… Read More
Given two integers M and N, the task is to generate an MxN matrix having elements in range [1, MxN] such that the average of… Read More
Given two numbers N and r, find the value of NCr using recursion Examples: Input: N = 5, r = 2Output: 10Explanation: The value of… Read More
As the name implies, a number system is a mathematical system that is used to represent numerals using various symbols and variables. Under the number… Read More
Given an integer N, the task is to print the ways to get the sum N by repeatedly throwing a dice. Input: N = 3Output: 1… Read More
Given an integer N and a chess knight placed in mobile keypad. The task is to count the total distinct N digit numbers which can… Read More
In mathematics, permutation relates to the function of ordering all the members of a group into some series or arrangement. In other words, if the… Read More
Sometimes, to find order, arrangements, or combinations of objects are required. Combinatorics is that branch of mathematics that focuses on the study of counting. So… Read More
Given two integers N and K, the task is to find the total number of ways of representing N as the sum of positive integers… Read More
Permutation is known as the process of organizing the group, body, or numbers in order, selecting the body or numbers from the set, is known… Read More
Permutation is known as the process of organizing the group, body, or numbers in order, selecting the body or numbers from the set, is known… Read More
Given integers N, P, and Q the task is to find the number of ways to form a group of N people having at least… Read More