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
Sur cette page du site, vous pouvez voir la vidéo en ligne Coding Interview Questions (beginner): checking for palindromes durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur fromDev2Dev 18 juillet 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,207 fois et il a aimé 29 téléspectateurs. Bon visionnage!