Given a string of even length, return the first half. So the string "WooHoo" yields "Woo".
Test Case |
A Input |
Program Output |
---|---|---|
1 | WooHoo | Woo |
2 | <> | < |
3 | HelloThere | Hello |
Solutions: | python | raptor |
Given a string, return a version without the first and last char, so "Hello" yields "ell". The string length will be at least 2.
Test Case |
A |
Program Output |
---|---|---|
1 | Hello | ell |
2 | Yo | |
3 | coding | odin |
Solutions: | python | raptor |
Given 2 strings, return their concatenation, except omit the first char of each. The strings will be at least length 1.
Test Case |
A |
B | Program Output |
---|---|---|---|
1 | Hello | There | ellohere |
2 | Java | Code | avaode |
3 | shotl | java | hotlava |
Solutions: | python | raptor |