Goal is to find 100 LeetCode Problems in Typescript and also to find a way to solve them.
- Install
ts-node
&typescript
globally vianpm
:npm i -g typescript ts-node
- Now just run
ts-node <folder name>/<name one of the file>.ts
on your terminal. - For example
ts-node twoSumProblem.ts
All of the links related to blogs are below that will help you understand each of the problem better and how it was solved.
Linked List
Days | Problems | Links |
---|---|---|
17 | Least Recently Used Cache | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-lru-cache-d27c7986cccc |
Advanced Graphs
Days | Problems | Links |
---|---|---|
14 | Min Cost to Connect Points | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-min-cost-to-connect-points-607b988c8c36 |
24 | Alien Dictionary | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-alien-dictionary-30721be99a2d |
Arrays & Hashing
Backtracking
Days | Problems | Links |
---|---|---|
7 | Combination Sum | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-combination-sum-problem-12c177d59e15 |
12 | Word Search | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-word-search-problem-1ec2ea60babb |
Bit Manipulation
Days | Problems | Links |
---|---|---|
2 | Reverse Integer | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-reversing-an-integer-ef3c8dc4c84c |
Graphs
Days | Problems | Links |
---|---|---|
19 | Surrounded Regions | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-surrounded-regions-4a5328422781 |
26 | Rotting Oranges | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-rotting-oranges-3994d69a79df |
Greedy
Heap Queue
Days | Problems | Links |
---|---|---|
21 | Design Twitter Feed | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-design-twitter-feed-f765eddf9351 |
Intervals
Days | Problems | Links |
---|---|---|
15 | Meeting Scheduler II | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-meeting-scheduler-ii-d9a385a34ea3 |
Math
Stack
Days | Problems | Links |
---|---|---|
22 | Car Fleet | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-car-fleet-b5c7b3e68236 |
trees
Days | Problems | Links |
---|---|---|
10 | Maximum Depth of Binary Tree | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-solving-the-maximum-depth-of-binary-tree-problem-8ddcec5880f3 |
Two Pointers
Days | Problems | Links |
---|---|---|
3 | Valid Palindrome | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-palindrome-number-problem-7838d4dc8db1 |
11 | Three Sum | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-3sum-c22ea608f464 |
13 | Container With Most Water | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-container-with-most-water-fab3de2e68d9 |
1-D Programming
Days | Problems | Links |
---|---|---|
16 | Word break | https://medium.com/@zeesek/100-days-of-leetcode-problems-in-typescript-word-break-78cb918ba17c |