Palindrome checker - determine if a string is a palindrome. LOGIC EXPLAINED. Coding interview

preview_player
Показать описание
A palindrome is a word, phrase, or sequence that reads the same backwards as forwards
Example "mom", "level", "racecar"

In this video I'll explain the logic for detecting if a string is a Palindrome and also do the coding via examples. This is a common coding interview question.

I have written a java program to detect a palindrome. Once you follow the logic, it can be translated to your programming language of choice very easily.

0:00 Introduction
0:33 Logic
2:08 Edge cases
2:36 Coding

Time Complexity: O(n) where n is the length of the string
Рекомендации по теме
Комментарии
Автор

Thank you for watching! Any questions about this tutorial, please let me know!

interview_ready
visit shbcf.ru