Amazon Coding Interview Question - Reverse Vowels In A String [LeetCode]

preview_player
Показать описание
Check out my interview prep platform for learning the patterns!

TIMESTAMPS
----------------------------------------------------------------------------------------------------------------
00:00:00 - problem overview
00:00:47 - algorithm walk through
00:04:44 - code walk through
00:09:56 - time and space complexity
Рекомендации по теме
Комментарии
Автор

Thank you! I have thought using a stack for this problem cuz it said "reversed", but it wasn't replacing the characters properly. How do you tell if we have to use the two pointers method?

curesnow
visit shbcf.ru