Frage im Vorstellungsgespräch bei BT Group

Core java: occurrence of characters in a string, reverse a string