Skip to content

fieldse/leetcode-typescript

Repository files navigation

Leetcode Typescript problems

Summary

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.

The Problems

Most of these are taken from the Top interview 150 set.

  1. Add two numbers
  2. Merge two strings alternately
  3. Kids With the Greatest Number of Candies
  4. Greatest commmon divisor between two strings
  5. Merge array sorted
  6. Remove element
  7. Two sum
  8. Min stack
  9. Is subsequence
  10. Ransom note
  11. Valid anagram

Installation

bun install

Usage

Run the solution tests using Bun's built-in test suite.

bun test

Links & resources

Maintainer

Matt Fields - [email protected]

About

Leetcode Top 150 Interview problems in Typescript

Topics

Resources

Stars

Watchers

Forks