Spotify Coding Interview Question - LeetCode 58 - Length of Last Word

preview_player
Показать описание


Solution to a very popular coding interview question asked recently by Spotify - Length of Last Word.

0:00 Intro
0:37 Solution 1
2:16 Solution 2
4:07 Code 1
4:45 Code 2

#softwareengineering #javascript #leetcode #programming
Рекомендации по теме
Комментарии
Автор

please make more videos AlgoJS, I will prompt your channel and send this channel to 5 of my colleagues also.

darshitgajjar
Автор

I don't understand how the second solution is so much slower than the first. It should surely be faster.

dandandan
Автор

No offence to anyone, this comes from genuine curiosity. But why do I feel like this specific question is too easy for a company as big as spotify? Perhaps I am not that into the rabbit hole just yet

rqvage