Skip to content

Solutions for different problems on leetcode.com written in JavaScript

Notifications You must be signed in to change notification settings

dancastillo/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

Leetcode problems solved in JavaScript by dancastillo

# Title Solution Difficulty Data Structure/Strategy
1 Two Sum JavaScript Easy
2 Add Two Numbers JavaScript Medium
3 Longest Substring Without Repeating Characters JavaScript Medium
5 Longest Palindromic String JavaScript Medium
11 Container With Most Water JavaScript Medium Array
13 Roman to IntegerJavaScript Easy
14 Longest Common Prefix JavaScript Easy
15 3Sum Closest JavaScript Medium Array
17 Letter Combinations of a Phone Number JavaScript Medium
18 4Sum JavaScript Medium Array
19 Remove Nth Node From End of List JavaScript Medium
20 Valid Parentheses JavaScript Easy
21 Merge Two Sorted Lists JavaScript Easy
22 Generate Parentheses JavaScript Medium
26 Remove Duplicates from Sorted Array JavaScript Easy
27 Remove Element JavaScript Easy
28 Implement strStr() JavaScript Easy
33 Search in Rotated Sorted Array JavaScript Medium BST
34 Find First and Last Position of Element in Sorted Array JavaScript Medium BST
35 Search Insert Position JavaScript Easy
36 Valid Sudoku JavaScript Medium Hash Map
39 Combination Sum JavaScript Medium Backtrack
45 Jump Game II JavaScript Medium
46 Permutations JavaScript Medium
48 Rotate Image JavaScript Medium Array
49 Group Anagrams JavaScript Medium Hash Map
52 Maximum Subarray JavaScript Easy
58 Length of Last Word JavaScript Easy
66 Plus One JavaScript Easy
70 Climbing Stairs JavaScript Easy
83 Remove Duplicates from Sorted List JavaScript Easy Linked List
88 Merge Sorted Array JavaScript Easy
101 Symmetric Tree JavaScript Easy
104 Maximum Depth of Binary Tree JavaScript Easy BST
108 Convert Sorted Array to Binary Search Tree JavaScript Easy BST
109 Conver Sorted Array to BST JavaScript Easy BST
118 Pascals Triangle JavaScript Easy DP
125 Valid Palindrome JavaScript Easy
169 Majority Element JavaScript Easy
189 Rotate Array JavaScript Medium
205 Isomorphic Strings JavaScript Easy Hashmap
383 Ransom Note JavaScript Easy HashMap
392 Is Subsequence JavaScript Easy Two Pointers

About

Solutions for different problems on leetcode.com written in JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published