Thu. Dec 5th, 2019

Host your Website

Read and learn

FatCow Web Hosting $1.00/mo* Trust your web hosting to the #1 web host provider, GoDaddy!

Solve CodeWars Javascript Challenge "String Incrementer" in 15 minutes (Intermediate Challenge)

1 min read



Three software developers try to solve the Javascript Code Wars coding challenge, String Incrementer (5 kyu), within 15 minutes. Ready, set, code! #CodeFights

Don’t forget to like and subscribe – and let us know in the comments what your solution was! Follow us on Twitter @CodeFights (https://twitter.com/CodeFights).

Code Wars Challenge: https://www.codewars.com/kata/string-incrementer/javascript
Want to skip ahead to their solutions? Timestamps are below:
– Trav: 17:20
– Ric: 20:00
– Terry: 23:38

Host: Carmen Chung (https://twitter.com/carmenhchung)

Code Fighters:
– Terence Jeong (https://twitter.com/terence_jeong)
– Ric Lavers (https://twitter.com/ric_lavers)
– Travis Kelekolio (https://twitter.com/TKelekolio).

Commentators:
– Alex Gearing (https://twitter.com/alexmgearing)
– Luke Thompson (https://twitter.com/lukethompson__).

Special thanks to Valiant Finance (https://twitter.com/valiantfinance) for hosting us.
Filmed by: Clement Cheung (https://twitter.com/ClementKCheung)

5 thoughts on “Solve CodeWars Javascript Challenge "String Incrementer" in 15 minutes (Intermediate Challenge)

  1. This one is definitely an intermediate challenge. All three of the devs made the same mistake from the get, which was to try to solve "the whole thing" at once, instead of breaking it into the two parts. The first logical part is incrementing a number string. The second part is detecting the number at the end of a string (which then gets passed to the increment function). The biggest benefit of this approach is your brain doesn't get stuck trying to figure it all out at once. You can clear your mind to focus on the discrete tasks one by one.

    My solution:
    https://codesandbox.io/s/relaxed-bash-vytjk?fontsize=14&hidenavigation=1&theme=dark

Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.