A select subset of the Leetcode problems list, solved in TypeScript.
The project is built with Bun.sh (rather than Node).
Refreshing my TypeScript skills with Leetcode challenges.
Most of these are taken from the Top interview 150 set.
- Add two numbers
- Merge two strings alternately
- Kids With the Greatest Number of Candies
- Greatest commmon divisor between two strings
- Merge array sorted
- Remove element
- Two sum
- Min stack
- Is subsequence
- Ransom note
- Valid anagram
bun install
Run the solution tests using Bun's built-in test suite.
bun test
- Leetcode - https://leetcode.com
- Full problem list - https://leetcode.com/problems/
- Top interview 150 - https://leetcode.com/studyplan/top-interview-150
- TypeScript documentation - https://www.typescriptlang.org/docs/
Matt Fields - [email protected]