ABC Message
Asked at IXL · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026
Given a string containing only characters 'A', 'B', and 'C', write a function to count the total number of different 'ABC' subsequences that can be formed by rearranging the string, with each character appearing at least once.
Loading the problem…