leetcode-algorithms

Group leetcode-algorithms Tele: https://t.me/+ST0unit9nTRkYjhl

Contribution's guide

  • Create an directory with name <problem_id>.<Name-To-Directory>.
  • Create a solution file with name solution.md in <problem_id>.<Name-To-Directory>. For example:
350.Intersection-Of-Two-Arrays-II
---- solution.md
---- description.md
...

Data structures

The following section contains list of basic problems categorized based on their data structures usage along with the solution

Hash Map

Problem Leetcode Solution
219. Contains Duplicate II Link Link

Stack

Problem Leetcode Solution
155. Min Stack Link Link
242. Valid Palindrome Link TBA
217. Contains Duplicate Link TBA
242. Valid Anagram Link TBA

Segment tree

Problem Leetcode Solution
303. Range Sum Query - Immutable Link Link
307. Range Sum query (Mutable) Link Link

Trie

Problem Leetcode Solution
208. Implement Trie (prefix tree) Link Link