## Number of ways to arrange a word such that all vowels occur together

Given a word containing vowels and consonants. The task is to find that in how many different ways word can be arranged so that the… Read More »

- Write a program to print all permutations of a given string
- Lexicographic rank of a string
- Factorial of a large number
- Combinational Sum
- Print all distinct permutations of a given string with duplicates
- Find n-th lexicographically permutation of a string | Set 2
- Permutations of a given string using STL
- Samsung Semiconductor Institute of Research(SSIR Software) Intern/FTE | Set-2
- Find all distinct subsets of a given set
- Program to calculate value of nCr
- Print all subsets of given size of a set
- Print all permutations in sorted (lexicographic) order
- Ways to sum to N using array elements with repetition allowed
- Count ways to reach the nth stair using step 1, 2 or 3
- Print all possible strings of length k that can be formed from a set of n characters
- Permutation and Combination in Python
- Count number of triplets with product equal to given number with duplicates allowed | Set-2
- Heap's Algorithm for generating permutations
- Count of different ways to express N as the sum of 1, 3 and 4
- Walmart Labs Interview Experience ( On Campus FT + 6 month Internship )
- All permutations of a string using iteration
- Distinct permutations of the string | Set 2
- Number of ways to form a heap with n distinct integers
- Lobb Number
- Make all combinations of size k
- Ways to color a 3*N board using 4 colors
- Paper Cut into Minimum Number of Squares
- Print all permutations with repetition of characters
- Different ways to sum n using numbers greater than or equal to m
- Number of distinct permutation a String can have

Given a word containing vowels and consonants. The task is to find that in how many different ways word can be arranged so that the… Read More »

Given four integers n, w, m and k where, m is the total number of men. w is the total number of women. n is… Read More »

You are given n straight lines. You have to find maximum number of point of intersection with these n lines. Examples: Input : n =… Read More »

We have an integer N. We need to express N as a sum of K integers such that by adding some(or all) of these integers… Read More »

Given an array of n positive numbers, the task is to count number of ordered pairs with even and odd sum. Examples: Input: arr[] =… Read More »

Given an array of N elements. The task is to count unordered pairs (i, j) in the array such that the product of a[i] and… Read More »

Given a number N. The task is to count the all possible values of x such that nx is equal to (N-x), where denotes bitwise… 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 »

S(r, n), represents the number of ways that we can arrange r objects around indistinguishable circles of length n, and every circle n must have… Read More »

Given 2n girls and randomly divided into two subgroups each containing n girls. The task is to count the number of ways in which groups… Read More »

There are n boys and n girls are to be seated around a round table, in a circle. The task is to find number of… Read More »

Given a sum and a number . The task is to count all possible ordered pairs (a, b) of positive numbers such that the two… Read More »

We are given a number N. The task is to find the count of numbers which have N digits and odd number of zeroes. Note:… 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 a binary string composed of 0’s and 1’s. The task is to find the number of unique permutation of the string which starts with… Read More »