โ† SAP questions

Count character groups

Filed under SAP

Given a string containing characters 'p', 'c', 'm', and 'b', count how many complete groups of these four characters ('p', 'c', 'm', 'b') can be formed using the characters available in the string.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related SAP questions

Collected from public candidate posts and coding forums. Updated Nov 2026.