# Tag Archives: permutation (adsbygoogle = window.adsbygoogle || []).push({});

## Arrangement of the characters of a word such that all vowels are at odd places

Given a string ‘S’ containing vowels and consonants of lowercase English alphabets. The task is to find the number of ways in which the characters… Read More »

## Find permutation of n which is divisible by 3 but not divisible by 6

Given an integer . The task is to find another interger which is permutation of n, divisible by 3 but not divisible by 6. Given… Read More »

## Check if any permutation of N equals any power of K

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 »

## Permutation of an array that has smaller values from another array

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 »

## Check if two Linked Lists are permutations of each other

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 »

## Number of unique permutations starting with 1 of a Binary String

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 »

## Check if two arrays are permutations of each other using Mathematical Operation

Given two unsorted arrays of same size where arr[i] >= 0 for all i, the task is to check if two arrays are permutations of… Read More »

## Minimum length of string having all permutation of given string.

Given a string where, . Assume that all the characters in are unique. The task is to compute the minimum length of a string which… Read More »

## Permutations to arrange N persons around a circular table

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 »

## Check if any permutation of a large number is divisible by 8

Given a large number N and the task is to check if any permutation of a large number is divisible by 8. Examples: Input: N… Read More »

## Maximize a number considering permutations with values smaller than limit

Given two numbers N and M. Construct maximal number by permuting (changing order) the digits of N, not exceeding M. Note : It is allowed… Read More »

## Palindromic Selfie Numbers

Given a number x, find it’s palindromic selfie number according to selfie multiplicative rule. If such a number doesn’t exist, then print “No such number… Read More »

## Amazon interview Experience | Set 413 (SDET-1 On-Campus Internship)

This was a pool campus conducted by amazon for internship. Online Round: There were 20 mcq(+1 for each) and 2 coding questions(+30 for each). MCQ had… Read More »

## Amazon Interview Experience | Set 370 (On Campus for Internship)

Round 1: Online Round(90 minutes) There were 20 MCQs and two coding questions. MCQs were mostly logical reasoning, running time and DS/Algo. There were also… Read More »

## Count number of strings (made of R, G and B) using given combination

We need to make a string of size n. Each character of the string is either ‘R’, ‘B’ or ‘G’. In the final string there… Read More »