Guys help me in this statement. unable to understand it properly....! | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Guys help me in this statement. unable to understand it properly....!

Q ) Count subsequences of type a^i, b^j, c^k . Input : abbc Output : 3 How this Subsequences are coming > abc, abc and abbc Subsequence series is confusing me alot . Can anyone explain it here...?

22nd Jun 2022, 2:54 PM
Davinder Kumar
Davinder Kumar - avatar
2 Antworten
0
It need more details..atleast for me! Any other examples..? abc, abc, abbc, all output : 3 a^i what is ^ and i in task? Can you share some more details..
22nd Jun 2022, 3:38 PM
Jayakrishna 🇮🇳
0
abcabc abc abc..c ab...c ab..bc a...bc a..abc ...abc
22nd Jun 2022, 7:40 PM
zemiak