Skip to content

ab1nv/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions

GitHub License GitHub commit activity

Click here to jump to the index.

This is a collection of solutions to some of the leetcode questions, solved by me. I am constantly updating these to be the fastest solution possible for every question, so contributions (with a faster implementation) are welcome.

This README.md has been generated by my TUI tool Lantern. Go check it out!

# Title Solution Tags Difficulty
0001 Two Sum Python Array, Hash Table Easy
0009 Palindrome Number Python Math Easy
0014 Longest Common Prefix Python Array, String, Trie Easy
0036 Valid Sudoku Python Array, Hash Table, Matrix Medium
0049 Group Anagrams Python Array, Hash Table, String, Sorting Medium
0075 Sort Colors Python Array, Two Pointers, Sorting Medium
0122 Best Time to Buy and Sell Stock II Python Array, Dynamic Programming, Greedy Medium
0128 Longest Consecutive Sequence Python Array, Hash Table, Union Find Medium
0169 Majority Element Python Array, Hash Table, Divide and Conquer, Sorting, Counting Easy
0217 Contains Duplicate Python Array, Hash Table, Sorting Easy
0238 Product of Array Except Self Python Array, Prefix Sum Medium
0242 Valid Anagram Python Hash Table, String, Sorting Easy
0347 Top K Frequent Elements Python Array, Hash Table, Divide and Conquer, Sorting, Heap (Priority Queue), Bucket Sort, Counting, Quickselect Medium

About

a nice collection of leetcode solutions.

Topics

Resources

License

Stars

Watchers

Forks

Languages