Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanju-srivatsa/leetcode
https://github.com/sanju-srivatsa/leetcode
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sanju-srivatsa/leetcode
- Owner: Sanju-srivatsa
- Created: 2021-08-13T11:55:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-01T05:50:46.000Z (over 3 years ago)
- Last Synced: 2024-08-03T01:09:23.660Z (5 months ago)
- Language: JavaScript
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leetcode
| # | Title | Solution | Runtime |
|---| ----- | -------- | ------- |
|1|[ Two Sum](https://leetcode.com/problems/two-sum/)|[JavaScript](./solutions/1.%20Two%20Sum.js)|112 ms|
|2|[ Add Two Numbers](https://leetcode.com/problems/add-two-numbers/)|[JavaScript](./solutions/2.%20Add%20Two%20Numbers.js)|132 ms|
|14|[ Longest Common Prefix](https://leetcode.com/problems/longest-common-prefix/)|[JavaScript](./solutions/14.%20Longest%20Common%20Prefix.js)|72 ms|
|26|[ Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/)|[JavaScript](./solutions/26.%20Remove%20Duplicates%20from%20Sorted%20Array.js)|92 ms|
|33|[ Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array/)|[JavaScript](./solutions/33.%20Search%20in%20Rotated%20Sorted%20Array.js)|117 ms|
|34|[ Find First and Last Position of Element in Sorted Array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/)|[JavaScript](./solutions/34.%20Find%20First%20and%20Last%20Position%20of%20Element%20in%20Sorted%20Array.js)|76 ms|
|35|[ Search Insert Position](https://leetcode.com/problems/search-insert-position/)|[JavaScript](./solutions/35.%20Search%20Insert%20Position.js)|72 ms|
|49|[ Group Anagrams](https://leetcode.com/problems/group-anagrams/)|[JavaScript](./solutions/49.%20Group%20Anagrams.js)|112 ms|
|69|[ Sqrt(x)](https://leetcode.com/problems/sqrtx/)|[JavaScript](./solutions/69.%20Sqrt(x).js)|80 ms|
|75|[ Sort Colors](https://leetcode.com/problems/sort-colors/)|[JavaScript](./solutions/75.%20Sort%20Colors.js)|76 ms|
|83|[ Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list/)|[JavaScript](./solutions/83.%20Remove%20Duplicates%20from%20Sorted%20List.js)|72 ms|
|121|[ Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/)|[JavaScript](./solutions/121.%20Best%20Time%20to%20Buy%20and%20Sell%20Stock.js)|84 ms|
|125|[ Valid Palindrome](https://leetcode.com/problems/valid-palindrome/)|[JavaScript](./solutions/125.%20Valid%20Palindrome.js)|88 ms|
|147|[ Insertion Sort List](https://leetcode.com/problems/insertion-sort-list/)|[JavaScript](./solutions/147.%20Insertion%20Sort%20List.js)|215 ms|
|148|[ Sort List](https://leetcode.com/problems/sort-list/)|[JavaScript](./solutions/148.%20Sort%20List.js)|144 ms|
|169|[ Majority Element](https://leetcode.com/problems/majority-element/)|[JavaScript](./solutions/169.%20Majority%20Element.js)|145 ms|
|200|[ Number of Islands](https://leetcode.com/problems/number-of-islands/)|[JavaScript](./solutions/200.%20Number%20of%20Islands.js)|88 ms|
|203|[ Remove Linked List Elements](https://leetcode.com/problems/remove-linked-list-elements/)|[JavaScript](./solutions/203.%20Remove%20Linked%20List%20Elements.js)|92 ms|
|206|[ Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/)|[JavaScript](./solutions/206.%20Reverse%20Linked%20List.js)|80 ms|
|234|[ Palindrome Linked List](https://leetcode.com/problems/palindrome-linked-list/)|[JavaScript](./solutions/234.%20Palindrome%20Linked%20List.js)|168 ms|
|242|[ Valid Anagram](https://leetcode.com/problems/valid-anagram/)|[JavaScript](./solutions/242.%20Valid%20Anagram.js)|166 ms|
|258|[ Add Digits](https://leetcode.com/problems/add-digits/)|[JavaScript](./solutions/258.%20Add%20Digits.js)|80 ms|
|387|[ First Unique Character in a String](https://leetcode.com/problems/first-unique-character-in-a-string/)|[JavaScript](./solutions/387.%20First%20Unique%20Character%20in%20a%20String.js)|168 ms|
|438|[ Find All Anagrams in a String](https://leetcode.com/problems/find-all-anagrams-in-a-string/)|[JavaScript](./solutions/438.%20Find%20All%20Anagrams%20in%20a%20String.js)|127 ms|
|463|[ Island Perimeter](https://leetcode.com/problems/island-perimeter/)|[JavaScript](./solutions/463.%20Island%20Perimeter.js)|293 ms|
|706|[ Design HashMap](https://leetcode.com/problems/design-hashmap/)|[JavaScript](./solutions/706.%20Design%20HashMap.js)|371 ms|
|739|[ Daily Temperatures](https://leetcode.com/problems/daily-temperatures/)|[JavaScript](./solutions/739.%20Daily%20Temperatures.js)|1156 ms|
|976|[ Largest Perimeter Triangle](https://leetcode.com/problems/largest-perimeter-triangle/)|[JavaScript](./solutions/976.%20Largest%20Perimeter%20Triangle.js)|100 ms|
|1002|[ Find Common Characters](https://leetcode.com/problems/find-common-characters/)|[JavaScript](./solutions/1002.%20Find%20Common%20Characters.js)|87 ms|
|1319|[ Number of Operations to Make Network Connected](https://leetcode.com/problems/number-of-operations-to-make-network-connected/)|[JavaScript](./solutions/1319.%20Number%20of%20Operations%20to%20Make%20Network%20Connected.js)|116 ms|
|1333|[ Filter Restaurants by Vegan-Friendly, Price and Distance](https://leetcode.com/problems/filter-restaurants-by-vegan-friendly-price-and-distance/)|[JavaScript](./solutions/1333.%20Filter%20Restaurants%20by%20Vegan-Friendly%2C%20Price%20and%20Distance.js)|84 ms|