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
Nesta página do site você pode assistir ao vídeo on-line Coding Interview Questions (beginner): checking for palindromes duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário fromDev2Dev 18 Julho 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,207 vezes e gostou 29 espectadores. Boa visualização!