
FAANG Level Mock Software Engineer Interview (JavaScript)
DonTheDeveloper Podcast
00:00
Is There a Better Way to Organize Words?
So, we just have one variable for the longest word and that's it actually. We're like your, you're sort of short circuiting in some way. I don't see how this would improve the time complexity at all. Um, because even if I could skip some words, like, right, you still would have had to process those words in order to have them arranged in a way that you would know to skip them. Right? So we can't. But. At this point, I'm really just trying to see if I can, um, yeah, skip logic on some. Like, Could I know if I saw dogs that it's not valid because dog was
Transcript
Play full episode