Found 15 articles tagged with #strings

Valid Palindrome

The definition of a palindrome typically focuses on the sequence of characters and whether it reads the same forwards and backwards.

Longest Palindromic Substring

Identify the longest substring within a given input string that forms a palindrome, which is a sequence of characters that reads the same forwards as it does backward.

Longest Substring Without Repeating Characters

The goal of this problem is to find the length of the longest substring within a given string that does not contain any repeating characters.

How to check if string contains substring in Python

A substring is a contiguous sequence of characters within a string. Python provides several ways to check for substrings within a larger string.

Jul 29, 2023#python#strings

How to remove last character from string in JavaScript

Both substring() and slice() methods allow you to extract a portion of a string. By specifying a range that excludes the last character, you effectively remove it from the string.