Google: Erase elements in string

Erase elements "b" or "ac" in an string in place, extra spaces and multiple
pass of the array is NOT allowed

Signed-off-by: Jun Yan <juyan@nvidia.com>