+ 1

in code how many ways can the letters in the word 'cat' be arranged?🤔

4th Apr 2019, 3:14 PM
Pikachu
Pikachu - avatar
2 ответов
0
Since there are no duplicate letters in "cat," the answer is 6 ways. However, I won't code the answer for you. Try it on your own first. Furthermore, you did not mention the particular language that you need to use to solve this.
4th Apr 2019, 6:06 PM
Lambda_Driver
Lambda_Driver - avatar
+ 3
The mathematical term is permutation. https://en.m.wikipedia.org/wiki/Permutation
5th Apr 2019, 1:39 AM
Tibor Santa
Tibor Santa - avatar