Skip to content

will-s-h/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

121 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solutions to LeetCode Problems

This repo contains my solutions (exclusively in C++) for Leetcode problems. All the solutions have been tested and pass the Leetcode time and memory constraints; however, this does not mean the solution is of optimal time complexity. In several files, both a slower and faster solution are presented.

Issues/In Progress:

# Title Description
1169.cpp Invalid Transactions Solution is possible in $\mathcal O(N \log N)$, too lazy to implement
135.cpp Candy Possible in one pass, still $\mathcal O(N)$ but much faster
39.cpp Combination Sum Could be faster???
229.cpp Majority Element II Take time to understand Boyer-Moore Majority Algorithm, see here

About

solutions to leetcode problems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages