Frage im Vorstellungsgespräch bei CTS

some string programs reverse string in each word,find occurance count