
Understanding and Solving Regular Expression Matching
Explore the intricacies of the Regular Expression Matching problem. Dive deep into a recursive TypeScript solution and understand the power of regex.
Articles
LeetCode is a platform intended for preparing for technical coding interviews and improving coding skills. It presents hundreds of complex (and some less‑complex) problems, and invites users to submit solutions using the programming language of choice. Naturally, where I discuss solutions here, it will almost always be in a front‑end language like JavaScript or TypeScript...
Below you will find a subset of articles from my blog specifically about LeetCode. This is an area that I have worked with for many years, and have managed to write about quite a few times. There are fifty collected together for you below.

Explore the intricacies of the Regular Expression Matching problem. Dive deep into a recursive TypeScript solution and understand the power of regex.

Dive into the 'Container with Most Water' problem, exploring the efficient two‑pointer technique with a step‑by‑step TypeScript example and analysis.

Explore the 'Longest Palindromic Substring' problem: its relevance in web development and four JavaScript (ES6 & TypeScript) solutions for efficiency.

Master the 4Sum problem in JavaScript: Explore the two‑pointer technique, solve with ES6/TypeScript, and test using Cypress. Elevate your coding skills.

Solve 3Sum Closest in JavaScript with sorting and two pointers, reducing brute‑force work while finding the nearest total efficiently in TypeScript.

Explore LeetCode's 'Add Two Numbers' problem: adding numbers represented as linked lists. Dive into the challenge, TypeScript solution, and its significance.

Solve the 3Sum problem in JavaScript with sorting, two pointers, duplicate skipping, Jest coverage, edge cases, and a clear TypeScript implementation.

Solve Longest Substring Without Repeating Characters in JavaScript with a sliding window, unique‑character tracking, and substring return variants.

A simple solution to solve the Valid Palindrome problem in JavaScript using the two‑pointer approach in ES6 and TypeScript, checking alphanumeric characters.

Unravelling the origins of 'atoi': from its C‑language roots as an ASCII‑to‑integer converter to its widespread recognition in modern programming contexts.

An exploration of the Zigzag Conversion problem: solve using string manipulation in web development, from iterative approaches to direct mathematical solutions.

An article describing how to count function arguments in JavaScript. Use 'rest' parameters in ES6 or the 'arguments' object for older JavaScript environments.

Explore the 'Reverse Integer' problem, its relevance in web development, and an efficient solution using TypeScript and ES6. Dive into basic data manipulations.

Solve the Two Sum problem efficiently in JavaScript with Hash Map or Two Pointers. Learn how to find pairs of numbers that sum up to a given target.