Skip to content

LeetManSup/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

leetcode

Arrays, Hashing

Title Tag Go code Python code
217 Contains Duplicate Array, Hash Table, Sorting Go Link Python Link
242 Valid Anagram Hash Table, String, Sorting Go Link Python Link
1 Two Sum Array, Hash Table Go Link Python Link
49 Group Anagrams Array, Hash Table, String, Sorting Go Link Python Link
347 Top K Frequent Elements Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect Go Link Python Link
238 Product of Array Except Self Array, Prefix Sum Go Link Python Link
36 Valid Sudoku Array, Hash Table, Matrix Go Link Python Link
128 Longest Consecutive Sequence Array, Hash Table, Union Find Go Link Python Link

Two pointers

Title Tag Go code Python code
125 Valid Palindrome Two Pointers, String Go Link Python Link
167 Two Sum II - Input Array Is Sorted Array, Two Pointers, Binary Search Go Link Python Link
15 3Sum Array, Two Pointers, Sorting Go Link Python Link
11 Container With Most Water Array, Two Pointers, Greedy Go Link Python Link
42 Trapping Rain Water Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack Go Link Python Link

Sliding window

Title Tag Go code Python code
121 Best Time to Buy and Sell Stock Array, Dynamic Programming Go Link Python Link
3 Longest Substring Without Repeating Characters Hash Table, String, Sliding Window Go Link Python Link
424 Longest Repeating Character Replacement Hash Table, String, Sliding Window Go Link Python Link
567 Permutation in String Hash Table, Two Pointers, String, Sliding Window Go Link Python Link
76 Minimum Window Substring Hash Table, String, Sliding Window Go Link Python Link
239 Sliding Window Maximum Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue Go Link Python Link

Stack

Title Tag Go code Python code
20 Valid Parentheses String, Stack Go Link Python Link
155 Min Stack Stack, Design Go Link Python Link
150 Evaluate Reverse Polish Notation Array, Math, Stack Go Link Python Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published