My Solutions for LeetCode problems written in Go, Java, JavaScript, Kotlin, Python and Swift.

Progress: 92 / 768

Solutions

# Title Go Java JavaScript Kotlin Python Swift Difficulty
1 Two Sum Square root Square root Square root Square root Square root Square root Easy
2 Add Two Numbers Square root Square root Square root Square root Square root Square root Medium
3 Longest Substring Without Repeating Characters Square root Square root Square root Square root Square root Square root Medium
5 Longest Palindromic Substring Square root Square root Square root Square root Square root Square root Medium
6 ZigZag Conversion Square root Square root Square root Square root Square root Square root Medium
7 Reverse Integer Square root Square root Square root Square root Square root Square root Easy
8 String to Integer (atoi) Square root Square root Square root Square root Square root Square root Medium
9 Palindrome Number Square root Square root Square root Square root Square root Square root Medium
11 Container With Most Water Square root Square root Square root Square root Square root Square root Medium
12 Integer to Roman Square root Square root Square root Square root Square root Square root Medium
13 Roman to Integer Square root Square root Square root Square root Square root Square root Easy
14 Longest Common Prefix Square root Square root Square root Square root Square root Square root Easy
15 3Sum Square root Square root Square root Square root Square root Square root Medium
16 3Sum Closest Square root Square root Square root Square root Square root Square root Medium
17 Letter Combinations of a Phone Number Square root Square root Square root Square root Square root Square root Medium
18 4Sum Square root Square root Square root Square root Square root Square root Medium
19 Remove Nth Node From End of List Square root Square root Square root Square root Square root Square root Medium
20 Valid Parentheses Square root Square root Square root Square root Square root Square root Easy
21 Merge Two Sorted Lists Square root Square root Square root Square root Square root Square root Easy
22 Generate Parentheses Square root Square root Square root Square root Square root Square root Medium
24 Swap Nodes in Pairs Square root Square root Square root Square root Square root Square root Medium
26 Remove Duplicates from Sorted Array Square root Square root Square root Square root Square root Square root Easy
27 Remove Element Square root Square root Square root Square root Square root Square root Easy
28 Implement strStr() Square root Square root Square root Square root Square root Square root Easy
29 Divide Two Integers Square root Square root Square root Square root Square root Square root Medium
31 Next Permutation Square root Square root Square root Square root Square root Square root Medium
33 Search in Rotated Sorted Array Square root Square root Square root Square root Square root Square root Medium
34 Search for a Range Square root Square root Square root Square root Square root Square root Medium
35 Search Insert Position Square root Square root Square root Square root Square root Square root Easy
36 Valid Sudoku Square root Square root Square root Square root Square root Square root Medium
38 Count and Say Square root Square root Square root Square root Square root Square root Easy
39 Combination Sum Square root Square root Square root Square root Square root Square root Medium
40 Combination Sum II Square root Square root Square root Square root Square root Square root Medium
43 Multiply Strings Square root Square root Square root Square root Square root Square root Medium
46 Permutations Square root Square root Square root Square root Square root Square root Medium
47 PermutationsII Square root Square root Square root Square root Square root Square root Medium
48 Rotate Image Square root Square root Square root Square root Square root Square root Medium
49 Group Anagrams Square root Square root Square root Square root Square root Square root Medium
50 Pow(x, n) Square root Square root Square root Square root Square root Square root Medium
53 Maximum Subarray Square root Square root Square root Square root Square root Square root Easy
54 Spiral Matrix Square root Square root Square root Square root Square root Square root Medium
55 Jump Game Square root Square root Square root Square root Square root Square root Medium
56 Merge Intervals Square root Square root Square root Square root Square root Square root Medium
58 Length of Last Word Square root Square root Square root Square root Square root Square root Easy
59 Spiral Matrix II Square root Square root Square root Square root Square root Square root Medium
61 Rotate List Square root Square root Square root Square root Square root Square root Medium
62 Unique Paths Square root Square root Square root Square root Square root Square root Medium
63 Unique Paths II Square root Square root Square root Square root Square root Square root Medium
64 Minimum Path Sum Square root Square root Square root Square root Square root Square root Medium
66 Plus One Square root Square root Square root Square root Square root Square root Easy
67 Add Binary Square root Square root Square root Square root Square root Square root Easy
69 Sqrt(x) Square root Square root Square root Square root Square root Square root Easy
70 Climbing Stairs Square root Square root Square root Square root Square root Square root Easy
71 Simplify Path Square root Square root Square root Square root Square root Square root Medium
73 Set Matrix Zeroes Square root Square root Square root Square root Square root Square root Medium
74 Search a 2D Matrix Square root Square root Square root Square root Square root Square root Medium
75 Sort Colors Square root Square root Square root Square root Square root Square root Medium
77 Combinations Square root Square root Square root Square root Square root Square root Medium
78 Subsets Square root Square root Square root Square root Square root Square root Medium
79 Word Search Square root Square root Square root Square root Square root Square root Medium
80 Remove Duplicates from Sorted Array II Square root Square root Square root Square root Square root Square root Medium
81 Search in Rotated Sorted Array II Square root Square root Square root Square root Square root Square root Medium
82 Remove Duplicates from Sorted List II Square root Square root Square root Square root Square root Square root Medium
83 Remove Duplicates from Sorted List Square root Square root Square root Square root Square root Square root Easy
86 Partition List Square root Square root Square root Square root Square root Square root Medium
88 Merge Sorted Array Square root Square root Square root Square root Square root Square root Easy
89 Gray Code Square root Square root Square root Square root Square root Square root Medium
90 SubsetsII Square root Square root Square root Square root Square root Square root Medium
91 Decode Ways Square root Square root Square root Square root Square root Square root Medium
92 Reverse Linked List II Square root Square root Square root Square root Square root Square root Medium
93 Restore IP Addresses Square root Square root Square root Square root Square root Square root Medium
94 Binary Tree Inorder Traversal Square root Square root Square root Square root Square root Square root Medium
95 Unique Binary Search Trees II Square root Square root Square root Square root Square root Square root Medium
96 Unique Binary Search Trees Square root Square root Square root Square root Square root Square root Medium
98 Validate Binary Search Tree Square root Square root Square root Square root Square root Square root Medium
100 Same Tree Square root Square root Square root Square root Square root Square root Easy
101 Symmetric Tree Square root Square root Square root Square root Square root Square root Easy
102 Binary Tree Level Order Traversal Square root Square root Square root Square root Square root Square root Medium
104 Maximum Depth of Binary Tree Square root Square root Square root Square root Square root Square root Easy
107 Binary Tree Level Order Traversal II Square root Square root Square root Square root Square root Square root Easy
112 Path Sum Square root Square root Square root Square root Square root Square root Easy
118 Pascal’s Triangle Square root Square root Square root Square root Square root Square root Easy
119 Pascal’s Triangle II Square root Square root Square root Square root Square root Square root Easy
136 Single Number Square root Square root Square root Square root Square root Square root Easy
137 Single Number II Square root Square root Square root Square root Square root Square root Medium
141 Linked List Cycle ? Square root Square root ? Square root ? Easy
142 Linked List Cycle II ? Square root Square root ? Square root ? Medium
147 Insertion Sort List Square root Square root Square root Square root Square root Square root Medium
148 Sort List Square root Square root Square root Square root Square root Square root Medium
160 Intersection of Two Linked Lists ? Square root Square root ? Square root ? Easy
168 Excel Sheet Column Title Square root Square root Square root Square root Square root Square root Easy
169 Majority Element Square root Square root Square root Square root Square root Square root Easy

Contributions

⚠️ Notice: We do NOT accept pull requests currently.

License

Windary is under an MIT license. See the LICENSE for more information.