Frage im Vorstellungsgespräch bei KaBloom

write a program to reverse a string and count same characters