#294. deFront
deFront
Background
Description
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.
Format
Input
Output
Samples
Hello
"llo"
java
"va"
away
"aay"
Limitation
1s, 1024KiB for each test case.