Given 3 characters a, b, c. Find the number of strings of length n that can be formed from these 3 characters. Given that : we can use a as many times as we want, b maximum once, and c maximum twice.
Answers
Answered by
0
Hi buddy
Here is your answer
Input : n = 3 Output : 19 Below strings follow given constraints:aaa aab aac aba abc aca acb acc baabac bca bcc caa cab cac cba cbc cca ccb Input : n = 4Output : 39
Answered by
0
Answer:
hi buddy
here is your answer..
please click the brainlist answer..
Similar questions
English,
6 months ago
Science,
6 months ago
Math,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago