
Coin Change II: Count Combinations Without Counting Their Order
Count Coin Change II combinations in TypeScript with coin‑first updates, exact intermediate counts, a worked table, and tests that expose ordered counting.
Articles
LeetCode is a useful prompt for practising algorithmic judgement, but a finished answer is not much use without the route to it. My walkthroughs concentrate on recognising the pattern, rejecting the tempting brute‑force approach, and explaining the solution in JavaScript or TypeScript.

Count Coin Change II combinations in TypeScript with coin‑first updates, exact intermediate counts, a worked table, and tests that expose ordered counting.

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.

Solve Target Sum in TypeScript by turning signs into subset counts, handling zeroes correctly, and proving why each input position must be counted once.

atoi): Decoding Strings in JavaScriptConvert strings to integers in JavaScript, covering trimming, signs, invalid input, overflow‑style constraints, and a TypeScript implementation.

Work through Partition Equal Subset Sum in TypeScript, including the half‑total reduction, descending updates, duplicate values, and independent tests.

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

Solve House Robber in TypeScript with a two‑value recurrence, a proof of the update order, greedy counterexamples, and tests for adjacent choices.

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

Reverse integers in JavaScript with sign handling, overflow checks, TypeScript examples, and the trade‑offs between string and maths approaches.

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.