In today's video, I will show you how to check if a string is a palindrome. Palindromes are a very interesting string manipulation problem and they often appear in coding interviews. A palindrome is a word, sentence, number or other sequence of characters that reads the same backward as forward. For sentences, we ignore capitalization, punctuation, and word separators. However, they have practical application as well. For example, in the field of bioinformatics they are used for RNA, DNA and protein sequence analysis. The code is JavaScript, but it's easy to replicate it in other languages as Go, Python, C/C++ and Java.
🚩If you want to write any comments, you can do it in English, Portuguese or Spanish (in this case, I will do my best). I'll keep the replies in Portuguese and translate them to English.
🚩Caso você queira comentar algo neste vídeo, você pode fazê-lo em inglês, português ou espanhol (neste caso, darei meu melhor). Eu manterei as respostas em português, mas também com a tradução para o Inglês.
► Key moments:
0:00 Intro: what is a palindrome?
0:52 First approach: using JavaScript built-in functions
3:08 Preparing and running test cases
4:44 Second approach: using a while loop
#marcellothiry #fromdev2dev #javascript #codinginterview #codinginterviewquestions #programming #beginners
На этой странице сайта вы можете посмотреть видео онлайн Coding Interview Questions (beginner): checking for palindromes длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь fromDev2Dev 18 Июль 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,207 раз и оно понравилось 29 зрителям. Приятного просмотра!