[go: up one dir, main page]

0% found this document useful (0 votes)
21 views3 pages

NeetCode 150 Template Format

Uploaded by

aditya9934552435
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

NeetCode 150 Template Format

Uploaded by

aditya9934552435
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Category QUESTION LINK T1 / Notes

Arrays Contains Dhttps://leetcode.com/problems/contains-duplicate/


hashset to get unique values in array, to check for duplicates easily
Arrays Valid Anag https://leetcode.com/problems/valid-anagram/
Arrays Two Sum https://leetcode.com/problems/two-sum/
use hash map to instantly check for difference value, map will add index of last occurrence of
Arrays Group Anahttps://leetcode.com/problems/group-anagrams/
Arrays Top K Freq https://leetcode.com/problems/top-k-frequent-elements/
Arrays Product of https://leetcode.com/problems/product-of-array-except-self/
Arrays Valid Sudo https://leetcode.com/problems/valid-sudoku/
Arrays Encode andhttps://leetcode.com/accounts/login/?next=/problems/encode-and-decode-strings/
Graph Longest Cohttps://leetcode.com/problems/longest-consecutive-sequence/
Two PointeValid Pali https://leetcode.com/problems/valid-palindrome/
Two PointeTwo Sum IIhttps://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
Two Pointe3Sum https://leetcode.com/problems/3sum/
Two PointeContainer https://leetcode.com/problems/container-with-most-water/
Two PointeTrapping Rhttps://leetcode.com/problems/trapping-rain-water/
Sliding Wi Best Time thttps://leetcode.com/problems/best-time-to-buy-and-sell-stock/
Sliding Wi Longest Suhttps://leetcode.com/problems/longest-substring-without-repeating-characters/
Sliding Wi Longest Rehttps://leetcode.com/problems/longest-repeating-character-replacement/
Sliding Wi Permutationhttps://leetcode.com/problems/permutation-in-string/
Sliding Wi Minimum W https://leetcode.com/problems/minimum-window-substring/
Sliding Wi Sliding W https://leetcode.com/problems/sliding-window-maximum/
Stack Valid Pare https://leetcode.com/problems/valid-parentheses/
Use a stack to push open parentheses, if close parentheses is encountered then use a dictiona
Stack Min Stack https://leetcode.com/problems/min-stack/
Stack Evaluate R https://leetcode.com/problems/evaluate-reverse-polish-notation/
Stack Generate Phttps://leetcode.com/problems/generate-parentheses/
Stack Daily Temphttps://leetcode.com/problems/daily-temperatures/
Stack Car Fleet https://leetcode.com/problems/car-fleet/
Stack Largest Re https://leetcode.com/problems/largest-rectangle-in-histogram/
dd index of last occurrence of a num, don’t use same element twice

ncountered then use a dictionary and check if it's a match, check edge cases, and empty queues, valid input and inputs where closing pare
and inputs where closing parentheses

You might also like