Conquer the JavaScript Interview: Capitalize Words [Beginner Skill Level]

Veröffentlicht am: 31 Januar 2023
auf dem Kanal: Covalence
134
1

Link to this Playlist:
   • Conquering the JavaScript Interview  

This is a part of my Algorithms and Data Structures playlist series. We cover a lot of common interview questions asked during whiteboards for entry level developers. Learning to master these takes time, practice, and pattern recognition. So I'll be helping you equip a toolbelt and filling it with as many tools as I can to help prepare you crush those interviews! Remember: "Luck is where practice meets opportunity."

In this video we cover another beginner level algorithm that utilizes a cool trick using index position logic. We need to take a lowercase string and capitalize the first letter of each new word. We achieve this by concatenating a result string in a for loop. During the loop we use the iterator i to determine if "i - 1," which represents the previous character in the string, is an empty space or not. And just like that we learn a cool little trick to solve this algorithm!

Don't forget to like this video and subscribe to our channel – we're publishing more videos and walkthroughs every week. Comment below and let us know what you'd like to see next!

Join the Covalence community: https://covalence.io

Shop Covalence merch: https://covalence.merchntly.com


Auf dieser Seite können Sie das Online-Video Conquer the JavaScript Interview: Capitalize Words [Beginner Skill Level] mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Covalence 31 Januar 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 134 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!