Tagged articles
20 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Apr 12, 2025 · Fundamentals

Mastering Manacher’s Algorithm: Find the Longest Palindromic Substring in O(N)

Manacher’s algorithm transforms the classic longest palindromic substring problem into a linear‑time solution by preprocessing the string with separators, tracking palindrome radii, and efficiently updating the center and right boundary using mirror positions, with detailed Python code and step‑by‑step illustrations.

Manacher algorithmPythonString processing
0 likes · 12 min read
Mastering Manacher’s Algorithm: Find the Longest Palindromic Substring in O(N)
php Courses
php Courses
Apr 2, 2025 · Backend Development

Understanding PHP str_word_count() Function: Syntax, Parameters, and Usage Examples

This article explains the PHP str_word_count() function, covering its syntax, parameter options, and providing multiple code examples that demonstrate counting words, retrieving word arrays, obtaining word positions, customizing ignored characters, and using regular expressions for word matching.

Code ExamplesPHPString processing
0 likes · 5 min read
Understanding PHP str_word_count() Function: Syntax, Parameters, and Usage Examples
Java Captain
Java Captain
Mar 29, 2025 · Fundamentals

Java Regular Expressions: Syntax, Examples, and Usage

This article introduces Java regular expressions, covering basic syntax, character classes, logical operators, predefined tokens, quantifiers, practical code examples, common applications such as data validation, and performance optimization tips for effective string processing in Java.

MatcherString processingjava
0 likes · 11 min read
Java Regular Expressions: Syntax, Examples, and Usage
php Courses
php Courses
Aug 21, 2024 · Backend Development

Using PHP str_word_count() Function: Syntax, Parameters, and Examples

This article explains PHP's str_word_count() function, detailing its syntax, parameters, optional character list, and provides multiple code examples demonstrating how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

String processingbackend-developmentstr_word_count
0 likes · 4 min read
Using PHP str_word_count() Function: Syntax, Parameters, and Examples
php Courses
php Courses
Dec 22, 2023 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, detailing its syntax, parameters, and return formats, and provides multiple code examples demonstrating how to count words, retrieve word lists, obtain word positions, and customize ignored characters for string processing.

PHPString processingbackend-development
0 likes · 4 min read
Using PHP str_word_count() Function to Count Words in a String
php Courses
php Courses
Dec 4, 2023 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, its syntax, parameters, and provides multiple code examples showing how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

BackendPHPString processing
0 likes · 5 min read
Using PHP str_word_count() Function to Count Words in a String
php Courses
php Courses
Nov 23, 2023 · Backend Development

PHP Regular Expression Functions: Syntax, Usage, and Examples

This article explains PHP's regular expression functions—including preg_match, preg_match_all, preg_replace, and preg_split—detailing their syntax, parameters, and practical code examples, and also covers advanced regex metacharacters and special symbols for powerful string matching and manipulation.

PHPString processingpreg_match
0 likes · 7 min read
PHP Regular Expression Functions: Syntax, Usage, and Examples
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 21, 2023 · Fundamentals

How to Extract Exact 6‑Digit Codes from Mixed Text Using Python Regex

This article walks through extracting six‑digit numeric codes from strings containing letters, numbers, and symbols using Python regular expressions and pandas, presenting multiple community‑sourced approaches, complete code examples, and visual explanations to help readers solve similar data extraction challenges.

Code TutorialPythonString processing
0 likes · 5 min read
How to Extract Exact 6‑Digit Codes from Mixed Text Using Python Regex
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 20, 2023 · Fundamentals

How to Extract Exact 6-Digit Numbers with Python Regex – Real‑World Tips

This article walks through a real‑world Python regex challenge of extracting exactly six consecutive digits from mixed alphanumeric strings, showcases successful and failed examples, shares multiple solution attempts from community experts, and offers practical advice for handling noisy data and avoiding false positives.

String processingTutorialregex
0 likes · 4 min read
How to Extract Exact 6-Digit Numbers with Python Regex – Real‑World Tips
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2023 · Fundamentals

Vectorized String Operations in Pandas: Methods and Examples

This article explains how Pandas' vectorized string operations enable efficient, loop‑free processing of text data, covering basic methods like len() and lower(), advanced regex functions, and additional utilities such as split, replace, slice, and get_dummies, with code examples and usage details.

String processingdata cleaningvectorization
0 likes · 21 min read
Vectorized String Operations in Pandas: Methods and Examples
Python Programming Learning Circle
Python Programming Learning Circle
Apr 8, 2021 · Fundamentals

Python Regular Expressions: Syntax, Character Classes, Quantifiers, Groups, Assertions, Flags, and Usage

This article provides a comprehensive overview of Python's regular expression features, covering special characters, character classes, quantifiers, grouping, backreferences, assertions, conditional matching, flags, and the most commonly used methods of the re module with illustrative code examples.

PythonString processingassertions
0 likes · 14 min read
Python Regular Expressions: Syntax, Character Classes, Quantifiers, Groups, Assertions, Flags, and Usage
FunTester
FunTester
Feb 10, 2021 · Fundamentals

How to Find the Longest Consecutive 1s in a Binary String Using Java

This article explains several Java techniques—including a simple loop, String.split, and regular‑expression approaches—to compute the maximum number of consecutive '1' characters in a binary string, and even extends the method to handle mixed‑character inputs.

Code ExampleString processingalgorithm
0 likes · 6 min read
How to Find the Longest Consecutive 1s in a Binary String Using Java
MaGe Linux Operations
MaGe Linux Operations
Jan 26, 2021 · Fundamentals

30 Quick Python Mini‑Projects to Master Core Programming Skills

This tutorial presents thirty concise Python tasks—ranging from duplicate detection and anagram checking to list chunking, dictionary merging, and execution timing—each accompanied by clear explanations and ready‑to‑run code snippets, enabling beginners to solidify fundamental concepts through hands‑on practice.

BeginnerPythonString processing
0 likes · 14 min read
30 Quick Python Mini‑Projects to Master Core Programming Skills
Ops Development Stories
Ops Development Stories
Feb 24, 2019 · Fundamentals

Master Python’s re Module: Essential Regex Techniques Explained

This article provides a comprehensive guide to Python’s re module, covering regex definitions, common methods, special character sets, pattern‑matching functions, match object attributes, and practical code examples for tasks such as validating phone numbers, IP addresses, and HTML snippets.

PythonString processingpattern-matching
0 likes · 13 min read
Master Python’s re Module: Essential Regex Techniques Explained