2020 Pinterest Coding Interview: Detect Bad Words

Опубликовано: 17 Январь 2021
на канале: Intuting Studio
2,966
61

In this video, I go over another coding interview I received from Pintreset during the remote onsite. The interview question was:

"Given a list of bad phrases and a query, detect whether the given query contains any bad phrases"

As an experience software engineer, who worked at big tech companies (e.g., Google, Amazon, Uber), I interviewed 100s of candidates and I was part of the hiring committee at Google.

If you are prepping for a technical interview, visit    / @intutingstudio3861   to learn from real interview examples from various big companies.

Additional Resources:
* Medium blog link:   / f3a046b48606  
* Full Code Solution: https://gist.github.com/intuting/8e63...

#codinginterview #coding #programminginterview #technicaIinterview #programming #computerscience

Intro: (0:00)
Interview Question: (0:16)
Examples: (0:25)
Brute Force Approach: (1:16)
Optimized Approach - Trie: (2:40)
Trie Code Solution: (6:02)
Outro: (11:05)


Смотрите видео 2020 Pinterest Coding Interview: Detect Bad Words онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Intuting Studio 17 Январь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,966 раз и оно понравилось 61 людям.