AMAZON - REVERSE VOWELS OF A STRING (LeetCode)
This is one of Amazon's most commonly asked interview questions according to LeetCode (2019)! Reverse Vowels of a String coding solution. If you give me 5 minutes you'll thank me if this appears during your Amazon interview! Coding Interviews Reverse Vowels of a String (LeetCode) question and explanation.
SOCIAL
----------------------------------------------------------------------------------------------------------------
Support me on Patreon: https://www.patreon.com/KevinNaughtonJr Follow me on Twitter: https://twitter.com/KevinNaughtonJr
Follow me on Instagram: https://instagram.com/kevinnaughtonjr/
Follow me on GitHub: https://github.com/kdn251
DISCORD CHANNEL
----------------------------------------------------------------------------------------------------------------
To join the Discord channel use the following link and join the "Member" tier: https://www.patreon.com/KevinNaughtonJr In this Discord channel, you will be able to...
1. Ask me questions directly (as well as other members)
2. Ask about and discuss previous interview experiences
3. Find mock interview partners
4. Share helpful videos for interview preparation, and more!
This question is commonly asked by the following companies: Amazon
Link to problem: https://leetcode.com/problems/reverse-vowels-of-a-string/
Intuition behind solution: Create a character array to manipulate the string (strings in Java are immutable). Create two pointers i and j to start at the beginning and end of the string respectively. While i and j have not crossed, search for vowel for each pointer and swap them. Once i and j have crossed, return a new string from your modified character array.
MUSIC
----------------------------------------------------------------------------------------------------------------
leanleanwalk? (IG @ heckohvro) by MAJORA✰
https://soundcloud.com/uwumajora/leanleanwalk
#coding #leetcode #softwareengineer
Видео AMAZON - REVERSE VOWELS OF A STRING (LeetCode) канала Kevin Naughton Jr.
SOCIAL
----------------------------------------------------------------------------------------------------------------
Support me on Patreon: https://www.patreon.com/KevinNaughtonJr Follow me on Twitter: https://twitter.com/KevinNaughtonJr
Follow me on Instagram: https://instagram.com/kevinnaughtonjr/
Follow me on GitHub: https://github.com/kdn251
DISCORD CHANNEL
----------------------------------------------------------------------------------------------------------------
To join the Discord channel use the following link and join the "Member" tier: https://www.patreon.com/KevinNaughtonJr In this Discord channel, you will be able to...
1. Ask me questions directly (as well as other members)
2. Ask about and discuss previous interview experiences
3. Find mock interview partners
4. Share helpful videos for interview preparation, and more!
This question is commonly asked by the following companies: Amazon
Link to problem: https://leetcode.com/problems/reverse-vowels-of-a-string/
Intuition behind solution: Create a character array to manipulate the string (strings in Java are immutable). Create two pointers i and j to start at the beginning and end of the string respectively. While i and j have not crossed, search for vowel for each pointer and swap them. Once i and j have crossed, return a new string from your modified character array.
MUSIC
----------------------------------------------------------------------------------------------------------------
leanleanwalk? (IG @ heckohvro) by MAJORA✰
https://soundcloud.com/uwumajora/leanleanwalk
#coding #leetcode #softwareengineer
Видео AMAZON - REVERSE VOWELS OF A STRING (LeetCode) канала Kevin Naughton Jr.
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
AMAZON - BINARY TREE PATHS (LeetCode)AMAZON CODING INTERVIEW QUESTION - STRING COMPRESSIONLeetcode 345. Reverse Vowels of a String Python SolutionIntersection of Two Arrays II - Leetcode top interview problem level easyLeetCode 26: Remove Duplicates from Sorted Array - Interview Prep Ep 45LeetCode 14. Longest Common Prefix Solution Explained - JavaReverse Vowels Of A String | Leetcode 345 Solution in HindiAMAZON - INTERSECTION OF TWO LINKED LISTS (LeetCode)Google Engineer Explains - LeetCode #9 - Palindrome Number - Solution (Python)AMAZON CODING INTERVIEW QUESTION - REORGANIZE STRINGAMAZON - LAST STONE WEIGHT (LeetCode)Amazon Coding Interview Question - Reverse Vowels In A String [LeetCode]Why Most People FAIL to Learn ProgrammingFACEBOOK - KTH SMALLEST ELEMENT IN A BST (LeetCode)AMAZON CODING INTERVIEW QUESTION - MOST COMMON WORD (LeetCode)Reorganize String leetcodeLeetcode 1167. Minimum Cost to Connect Sticks, Heap, Amazon Coding InterviewGoogle Engineer Explains - LeetCode #2 - Add Two Numbers - Solution (Python)Counting Bits - Dynamic Programming - Leetcode 338 - Python