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
In questa pagina del sito puoi guardare il video online Coding Interview Questions (beginner): checking for palindromes della durata di ore minuti seconda in buona qualità , che l'utente ha caricato fromDev2Dev 18 luglio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,207 volte e gli è piaciuto 29 spettatori. Buona visione!