Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 695 Bytes

Day47_LeetCode125.md

File metadata and controls

16 lines (11 loc) · 695 Bytes

Day 47: LeetCode 125 [Valid Palindrome]

Problem Description: A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same forward and backward. Alphanumeric characters include letters and numbers.

Given a string s, return true if it is a palindrome, or false otherwise.

Example 1: Input: s = "A man, a plan, a canal: Panama" Output: true Explanation: "amanaplanacanalpanama" is a palindrome.

Link to LeetCode Problem: https://leetcode.com/problems/valid-palindrome/description/

image