/leetcode

🎓 My polyglot solutions of Leetcode problems. Scala, Java, Golang, Python, C++ etc.

Primary LanguageGo

Leetcode

LeetCode stats

# Title Solution Topics
1 Two sum Java
2 Add Two Numbers Golang
3 Longest Substring Without Repeating Characters Scala
5 Longest Palindromic Substring Java
7 Reverse Integer C++
9 Palindrome Number Golang
11 Container With Most Water Python two pointers
14 Longest Common Prefix Golang
21 Merge Two Sorted Lists Golang dummy head
26 Remove Duplicates from Sorted Array Kotlin two pointers
27 Remove Element Golang
35 Search Insert Position Golang binary search
43 Multiply Strings Golang
88 Merge Sorted Array Python two pointers
121 Best Time to Buy and Sell Stock Python two pointers
125 Valid Palindrome Kotlin two pointers
129 Sum Root to Leaf Numbers Golang
201 Contains Duplicate II Golang
203 Remove Linked List Elements Python
205 Isomorphic Strings Golang
206 Reverse Linked List Scala
225 Implement Stack using Queues Golang stack
237 Delete Node in a Linked List Python
242 Valid Anagram Golang
258 Add digits Python recursion
268 Missing Number Python math
283 Move Zeroes Kotlin two pointers
344 Reverse String Scala
347 Top K Frequent Elements Kotlin
349 Intersection of Two Arrays JavaScript
430 Flatten a Multilevel Doubly Linked List Java
438 Find All Anagrams in a String Golang
567 Permutation in String Golang
653 Two Sum IV - Input is a BST Golang
724 Find Pivot Index TypeScript
832 Flipping an Image Golang
917 Reverse Only Letters Golang
922 Sort Array By Parity II Golang
977 Squares of a Sorted Array Python two pointers
988 Smallest String Starting From Leaf Golang
1302 Deepest Leaves Sum Golang
1309 Decrypt String from Alphabet to Integer Mapping Rust
1436 Destination City Golang
1448 Count Good Nodes in Binary Tree Golang
1470 Shuffle the Array Python
1491 Average Salary Excluding the Minimum and Maximum Salary Golang
1588 Sum of All Odd Length Subarrays Golang
1769 Minimum Number of Operations to Move All Balls to Each Box Golang
1827 Minimum Operations to Make the Array Increasing Python greedy
2260 Minimum Consecutive Cards to Pick Up Golang
2461 Maximum Sum of Distinct Subarrays With Length K Python Sliding Window