Skip to content
forked from TonnyL/Windary

πŸŽ“ My solutions to LeetCode problems written in Go, Java, JavaScript, Kotlin, Python, Rust & Swift.

License

Notifications You must be signed in to change notification settings

dumuzhou/Windary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Windary

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

Progress: 76 / 740

Solutions

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

Contributions

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

License

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

About

πŸŽ“ My solutions to LeetCode problems written in Go, Java, JavaScript, Kotlin, Python, Rust & Swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 21.8%
  • Java 18.2%
  • Kotlin 15.5%
  • Python 15.1%
  • JavaScript 14.7%
  • Go 13.3%
  • Rust 1.4%