Daily Challenge (246 Part Series)
Hey, everyone. We've decided to host a daily challenge series. We'll have a variety of challenges, ranging in difficulty and complexity. If you choose to accept the task, your goal is to write the most efficient function you can for your language. Bonus points for any features you add!
I’ll start you off with a simple, straightforward challenge. Our first one comes from user @SteadyX on CodeWars.
Your goal is to create a function that removes the first and last letters of a string. Strings with two characters or less are considered invalid. You can choose to have your function return null or simply ignore.
The fundamentals are important, it only gets more difficult from here.
Want to propose a challenge for a future post? Email firstname.lastname@example.org with your suggestions!
Claim your page on DEV before someone else does
Level up every day