deFront("Hello") → "llo" deFront("java") → "va" d
Given a string, return a version without the first 2 chars. Except keep the first char if it is 'a' and keep the second char if it is 'b'. The string may be any length. Harder than it looks.
deFront("Hello") → "llo" deFront("java") → "va" deFront("away")
deFront("Hello") → "llo" deFront("java") → "va" deFront("away")
![]() |
|