Skip to content

Zedx07/NeetCode

 
 

Repository files navigation

Arrays & Hashing

Excel: https://docs.google.com/spreadsheets/d/1A2PaQKcdwO_lwxz9bAnxXnIQayCouZP6d-ENrBz_NXc/edit?usp=sharing

LeetCode ID Difficulty Problem Solutions
217 Easy Contains Duplicate C++GoJavaPython
242 Easy Valid Anagram C++GoJavaPython
1 Easy Two Sum C++GoJavaPython
49 Medium Group Anagrams C++GoJavaPython
347 Medium Top K Frequent Elements C++GoJavaPython
238 Medium Product of Array Except Self C++GoJavaPython
36 Medium Valid Sudoku C++GoJavaPython
128 Medium Longest Consecutive Sequence C++GoJavaPython

Two Pointers

LeetCode ID Difficulty Problem Solutions
125 Easy Valid Palindrome C++GoJavaPython
167 Medium Two Sum II C++GoJavaPython
15 Medium 3Sum C++GoJavaPython
11 Medium Container with Most Water C++GoJavaPython
42 Hard Trapping Rain Water C++GoJavaPython

Sliding Window

LeetCode ID Difficulty Problem Solutions
121 Easy Best Time to Buy & Sell Stock C++GoJavaPython
3 Medium Longest Substring Without Repeating Characters C++GoJavaPython
424 Medium Longest Repeating Character Replacement C++GoJavaPython
567 Medium Permutation in String C++GoJavaPython
76 Hard Minimum Window Substring C++GoJavaPython
239 Hard Sliding Window Maximum C++GoJavaPython

Stack

LeetCode ID Difficulty Problem Solutions
20 Easy Valid Parentheses C++GoJavaPython
155 Medium Min Stack C++GoJavaPython
150 Medium Evaluate Reverse Polish Notation C++GoJavaPython
22 Medium Generate Parentheses C++GoJavaPython
739 Medium Daily Temperatures C++GoJavaPython
853 Medium Car Fleet C++GoJavaPython
84 Hard Largest Rectangle in Histogram C++GoJavaPython

Binary Search

LeetCode ID Difficulty Problem Solutions
704 Easy Binary Search C++GoJavaPython
74 Medium Search a 2D Matrix C++GoJavaPython
875 Medium Koko Eating Bananas C++GoJavaPython
33 Medium Search in Rotated Sorted Array C++GoJavaPython
153 Medium Find Minimum in Rotated Sorted Array C++GoJavaPython
981 Medium Time Based Key-Value Store C++GoJavaPython
4 Hard Median of Two Sorted Arrays C++GoJavaPython

Linked List

LeetCode ID Difficulty Problem Solutions
206 Easy Reverse Linked List C++GoJavaPython
21 Easy Merge Two Sorted Lists C++GoJavaPython
141 Easy Linked List Cycle C++GoJavaPython
143 Medium Reorder List C++GoJavaPython
19 Medium Remove Nth Node From End of List C++GoJavaPython
2 Medium Add Two Numbers C++GoJavaPython
287 Medium Find the Duplicate Number C++GoJavaPython
146 Medium LRU Cache C++GoJavaPython
23 Hard Merge k Sorted Lists C++GoJavaPython
25 Hard Reverse Nodes in k-Group C++GoJavaPython

Trees

LeetCode ID Difficulty Problem Solutions
226 Easy Invert Binary Tree C++GoJavaPython
104 Easy Maximum Depth of Binary Tree C++GoJavaPython
543 Easy Diameter of Binary Tree C++GoJavaPython
110 Easy Balanced Binary Tree C++GoJavaPython
100 Easy Same Tree C++GoJavaPython
572 Easy Subtree Of Another Tree C++GoJavaPython
235 Medium Lowest Common Ancestor Of A Binary Search Tree C++GoJavaPython

About

C++ / Go / Python / Java Solutions for problems in https://neetcode.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 29.4%
  • C++ 26.1%
  • Python 23.9%
  • Go 20.6%