DonTheDeveloper Podcast cover image

FAANG Level Mock Software Engineer Interview (JavaScript)

DonTheDeveloper Podcast

00:00

How to Change the Score of a Word in the Words Array

For each thing, we check the highest score and then we can update our variable of that. We also have to pass the tiles right. So basically whenever the next score is here, so I won't do this. And by default, if every single word in the words array has an actual value zero, then if this were like actual score would never be greater than zero. What if you can make no words? That's a good question why should we. If we have no words. Something reasonable to return. Like there are no valid English words.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app