Computer Science, asked by fuzzy7555, 22 days ago

You are given a string S consisting of letters 'a' and 'b'. You want to split it intothreeseparate non-empty parts. The lengths of the parts can differ from one another.In how many ways can you split s into three parts, such that each part containsthesame number of letters 'a'?Write a program that accepts a string as a parameter from the commandprompt andprint an integer value as an output. In java program​

Answers

Answered by rohitmungekar1303
3

Answer:

yghiiuh forgive suffice drifter ergo stfu right edgy stfu ty guide

Similar questions