Skip to content

bassetmatt/leetcode

Repository files navigation

Leetcode problems

My personal repo with some leetcode problems that I solved.
The files uploaded should be fine regarding license issues with leetcode

Code organisation

  • problems/: Code for a given problem
  • scripts/: Utility code to setup environments for new problems, downloads the description
  • data/: Templates, icons

List of problems

ID Name Difficulty Tags Rust C++ Python Java
1 Two Sum 🟢 Easy 🍡 Array, 🔑🗄️ Hash Table 🦀 💻
20 Valid Parentheses 🟢 Easy 🥞🍳 Stack, 📜🔤 String 🦀 💻 🐍
49 Group Anagrams 🟠 Medium 🍡 Array, 🔑🗄️ Hash Table, 🔄📊 Sorting, 📜🔤 String 🦀 💻
125 Valid Palindrome 🟢 Easy 📜🔤 String, 👆⬅️👈 Two Pointers 🦀 💻 🐍
150 Evaluate Reverse Polish Notation 🟠 Medium 🍡 Array, ➗➕ Math, 🥞🍳 Stack 🦀 💻 🐍
155 Min Stack 🟠 Medium 🎨🛠️ Design, 🥞🍳 Stack 🦀 💻
217 Contains Duplicate 🟢 Easy 🍡 Array, 🔑🗄️ Hash Table, 🔄📊 Sorting 🦀 💻
242 Valid Anagram 🟢 Easy 🔑🗄️ Hash Table, 🔄📊 Sorting, 📜🔤 String 🦀 💻 🐍
347 Top K Frequent Elements 🟠 Medium 🍡 Array, 🪣🔄📊 Bucket Sort, 🧮📈🔎 Counting, ✂️🔁🏆 Divide and Conquer, 🔑🗄️ Hash Table, 🗃️⬆️ Heap (Priority Queue), 🔄📉🔢 Quickselect, 🔄📊 Sorting 🦀 💻 🐍

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Leetcode problems repository

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published