Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

211 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

A collection of Neetcode 150 Problems

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0049-group-anagrams
0066-plus-one
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0136-single-number
0150-evaluate-reverse-polish-notation
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0217-contains-duplicate
0238-product-of-array-except-self
0283-move-zeroes
0287-find-the-duplicate-number
0347-top-k-frequent-elements

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0049-group-anagrams
0128-longest-consecutive-sequence
0141-linked-list-cycle
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements
0383-ransom-note
0387-first-unique-character-in-a-string

Divide and Conquer

0347-top-k-frequent-elements

Sorting

0049-group-anagrams
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements

Heap (Priority Queue)

0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements
0383-ransom-note
0387-first-unique-character-in-a-string

Quickselect

0347-top-k-frequent-elements

Linked List

0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0086-partition-list
0141-linked-list-cycle
0143-reorder-list
0203-remove-linked-list-elements
0206-reverse-linked-list
2095-delete-the-middle-node-of-a-linked-list

Two Pointers

0011-container-with-most-water
0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0027-remove-element
0086-partition-list
0125-valid-palindrome
0141-linked-list-cycle
0143-reorder-list
0167-two-sum-ii-input-array-is-sorted
0283-move-zeroes
0287-find-the-duplicate-number
0344-reverse-string
2095-delete-the-middle-node-of-a-linked-list

Stack

0020-valid-parentheses
0032-longest-valid-parentheses
0143-reorder-list
0150-evaluate-reverse-polish-notation
0155-min-stack

Recursion

0021-merge-two-sorted-lists
0143-reorder-list
0203-remove-linked-list-elements
0206-reverse-linked-list

Binary Search

0035-search-insert-position
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0278-first-bad-version
0287-find-the-duplicate-number

Bit Manipulation

0136-single-number
0287-find-the-duplicate-number

String

0003-longest-substring-without-repeating-characters
0020-valid-parentheses
0032-longest-valid-parentheses
0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
0344-reverse-string
0383-ransom-note
0387-first-unique-character-in-a-string
0412-fizz-buzz

Prefix Sum

0238-product-of-array-except-self

Union-Find

0128-longest-consecutive-sequence

Dynamic Programming

0032-longest-valid-parentheses
0121-best-time-to-buy-and-sell-stock

Sliding Window

0003-longest-substring-without-repeating-characters

Greedy

0011-container-with-most-water

Queue

0387-first-unique-character-in-a-string

Math

0007-reverse-integer
0009-palindrome-number
0066-plus-one
0150-evaluate-reverse-polish-notation
0258-add-digits
0412-fizz-buzz

Simulation

0258-add-digits
0412-fizz-buzz

Number Theory

0258-add-digits

Interactive

0278-first-bad-version

Tree

0100-same-tree
0572-subtree-of-another-tree

Depth-First Search

0100-same-tree
0572-subtree-of-another-tree

Breadth-First Search

0100-same-tree

Binary Tree

0100-same-tree
0572-subtree-of-another-tree

String Matching

0572-subtree-of-another-tree

Hash Function

0572-subtree-of-another-tree

Bracket Sequences

0032-longest-valid-parentheses

Design

0155-min-stack

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /