Data Structure & Algorithm: Level-1 Problem #63. Permutation and Combination-1 Posted by By CodeGuru.Academy May 13, 2021Posted inData Structure & Algorithm Basic Level Problems Given two positions A and B in a 3D coordinate system. Find out how many ways to go from A to B to reach the shortest path possible, and we…
Data Structure & Algorithm: Level-1 Problem #59. Factorial and Permutation-3 Posted by By CodeGuru.Academy May 9, 2021Posted inData Structure & Algorithm Basic Level Problems Given a round table, with N male and N female guests(1 < N < 10), how many ways we can arrange them such that the sexes alternate? Sample Input: N…
Data Structure & Algorithm: Level-1 Problem #58. Factorial and Permutation-2 Posted by By CodeGuru.Academy May 8, 2021Posted inData Structure & Algorithm Basic Level Problems Given the position for two points A and B on the Cartesian plane. Find out how many ways to move from point A to point B to achieve the shortest…
Data Structure & Algorithm: Level-1 Problem #57. Factorial and Permutation – 1 Posted by By CodeGuru.Academy May 7, 2021Posted inData Structure & Algorithm Basic Level Problems In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n: Following table shows the values…