Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Decode String | FAANG Coding Question | Stack

Автор: AlgosWithMichael

Загружено: 2021-10-04

Просмотров: 12062

Описание:

In this video, you will learn how to solve the popular algorithm problem "Decode String" using the stack data structure asked at Google, Facebook, Microsoft, Amazon, Snapchat, and many more companies! For this problem, we must decode an encoded string. The solution involves utilizing two stacks -- one for the digits and one for the letters. As we iterate over our encoded string, we must add the characters to their respective stacks. When we encounter an open bracket, that means we are at the start of an encoding. When we encounter a closing bracket, that means we are at the end of an encoding. By the end of iteration, we will have decoded all encodings inside of our string.

Check out my interview prep platform for learning the patterns!
📢 Interview Prep Platform: https://algoswithmichael.com

🔗 Social 🔗
🎧 Join the community Discord:   / discord  
💰 Support me on Patreon:   / michaelmuinos  
🔗Follow me on LinkedIn:   / michael-muinos  
📂Follow me on Github: https://github.com/MichaelMuinos

⭐️ Timestamps ⭐️
00:00 | Intro
00:27 | Problem Statement
01:48 | When To Use a Stack
02:26 | Algorithm Walkthrough
08:34 | Code Walkthrough
15:41 | Time & Space Complexity

Decode String | FAANG Coding Question | Stack

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Flip Equivalent Binary Trees (Google Coding Question)

Flip Equivalent Binary Trees (Google Coding Question)

Coin Change

Coin Change

Google Coding Interview Questions

Google Coding Interview Questions

Microsoft Coding Interview Question - Rotate Image

Microsoft Coding Interview Question - Rotate Image

FAANG Coding Interview Question - Container With Most Water (LeetCode)

FAANG Coding Interview Question - Container With Most Water (LeetCode)

Microsoft Coding Interview Questions

Microsoft Coding Interview Questions

Binary Search Coding Interview Questions

Binary Search Coding Interview Questions

Google Coding Interview Question - Number of Closed Islands (LeetCode)

Google Coding Interview Question - Number of Closed Islands (LeetCode)

Meta Coding Question - Random Pick With Weight (LeetCode 528)

Meta Coding Question - Random Pick With Weight (LeetCode 528)

LeetCode 5. Самая длинная палиндромная подстрока (объяснение алгоритма)

LeetCode 5. Самая длинная палиндромная подстрока (объяснение алгоритма)

Longest Increasing Path in a Matrix (DFS + Memoization)

Longest Increasing Path in a Matrix (DFS + Memoization)

FACEBOOK CODING QUESTION - ADD STRINGS (LEETCODE)

FACEBOOK CODING QUESTION - ADD STRINGS (LEETCODE)

Чат ПГТ 5.2 - это похоронная. Самый УЖАСНЫЙ релиз в истории ИИ

Чат ПГТ 5.2 - это похоронная. Самый УЖАСНЫЙ релиз в истории ИИ

Solving Amazon's 2020 Most Asked Interview Question

Solving Amazon's 2020 Most Asked Interview Question

The Layers That Will Matter in 2035

The Layers That Will Matter in 2035

Bucket Sort Interview Question - Min Time Difference (Amazon)

Bucket Sort Interview Question - Min Time Difference (Amazon)

Amazon Coding Interview Question - Integer to Roman (LeetCode)

Amazon Coding Interview Question - Integer to Roman (LeetCode)

Merge K Sorted Lists - Divide and Conquer Approach

Merge K Sorted Lists - Divide and Conquer Approach

Minimum Window Substring - Airbnb Interview Question - Leetcode 76

Minimum Window Substring - Airbnb Interview Question - Leetcode 76

Вопрос на собеседовании по программированию Google — Путь с максимальным золотом (LeetCode)

Вопрос на собеседовании по программированию Google — Путь с максимальным золотом (LeetCode)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]