Skip to content

DiegoZ-dev/neetcode-dsa-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š NeetCode DSA Roadmap Solutions

Soluciones personales al roadmap de NeetCode: https://neetcode.io/roadmap

Cada carpeta representa una categorΓ­a del roadmap. Dentro encontrarΓ‘s los problemas resueltos en Java.


βœ… Arrays & Hashing

  • Contains Duplicate
  • Valid Anagram
  • Two Sum
  • Group Anagrams
  • Top K Frequent Elements
  • Encode and Decode Strings
  • Product of Array Except Self
  • Valid Sudoku
  • Longest Consecutive Sequence

πŸ” Two Pointers

  • Valid Palindrome
  • Two Sum II - Input Array Is Sorted
  • 3Sum
  • Container With Most Water
  • Trapping Rain Water

πŸ“š Stack

  • Valid Parentheses
  • Min Stack
  • Evaluate Reverse Polish Notation
  • Generate Parentheses
  • Daily Temperatures
  • Car Fleet
  • Largest Rectangle In Histogram

πŸ‘€ Binary Search

  • Binary Search
  • Search a 2D Matrix
  • Koko Eating Bananas
  • Find Minimum In Rotated Sorted Array
  • Search In Rotated Sorted Array
  • Time Based Key Value Store
  • Median of Two Sorted Arrays

🌊 Sliding Window

  • Best Time to Buy and Sell Stock
  • Longest Substring Without Repeating Characters
  • Longest Repeating Character Replacement
  • Permutation In String
  • Minimum Window Substring
  • Sliding Window Maximum

πŸ”— Linked List

  • Reverse Linked List
  • Merge Two Sorted Lists
  • Linked List Cycle
  • Reorder List
  • Remove Nth Node From End of List
  • Copy List With Random Pointer
  • Add Two Numbers
  • Find The Duplicate Number
  • LRU Cache
  • Merge K Sorted Lists
  • Reverse Nodes In K Group

🌳 Trees

  • Invert Binary Tree
  • Maximum Depth of Binary Tree
  • Diameter of Binary Tree
  • Balanced Binary Tree
  • Same Tree
  • Subtree of Another Tree
  • Lowest Common Ancestor of a Binary Search Tree
  • Binary Tree Level Order Traversal
  • Binary Tree Right Side View
  • Count Good Nodes In Binary Tree
  • Validate Binary Search Tree
  • Kth Smallest Element In a Bst
  • Construct Binary Tree From Preorder And Inorder Traversal
  • Binary Tree Maximum Path Sum
  • Serialize And Deserialize Binary Tree

πŸ’¬ Tries

  • Implement Trie Prefix Tree
  • Design Add And Search Words Data Structure
  • Word Search II

πŸ” Heap / Priority Queue

  • Kth Largest Element In a Stream
  • Last Stone Weight
  • K Closest Points to Origin
  • Kth Largest Element In An Array
  • Task Scheduler
  • Design Twitter
  • Find Median From Data Stream

🧠 Backtracking

  • Subsets
  • Combination Sum
  • Combination Sum II
  • Permutations
  • Subsets II
  • Word Search
  • Palindrome Partitioning
  • Letter Combinations of a Phone Number
  • N Queens

➿ Intervals

  • Insert Interval
  • Merge Intervals
  • Non Overlapping Intervals
  • Meeting Rooms
  • Meeting Rooms II
  • Minimum Interval to Include Each Query

πŸ’° Greedy

  • Maximum Subarray
  • Jump Game
  • Jump Game II
  • Gas Station
  • Hand of Straights
  • Merge Triplets to Form Target Triplet
  • Partition Labels
  • Valid Parenthesis String

✳️ Graphs

  • Number of Islands
  • Max Area of Island
  • Clone Graph
  • Walls And Gates
  • Rotting Oranges
  • Pacific Atlantic Water Flow
  • Surrounded Regions
  • Course Schedule
  • Course Schedule II
  • Graph Valid Tree
  • Number of Connected Components In An Undirected Graph
  • Redundant Connection
  • Word Ladder

πŸš₯ 1-D Dynamic Programming

  • Climbing Stairs
  • Min Cost Climbing Stairs
  • House Robber
  • House Robber II
  • Longest Palindromic Substring
  • Palindromic Substrings
  • Decode Ways
  • Coin Change
  • Maximum Product Subarray
  • Word Break
  • Longest Increasing Subsequence
  • Partition Equal Subset Sum

✳️ Advanced Graphs

  • Network Delay Time
  • Reconstruct Itinerary
  • Min Cost to Connect All Points
  • Swim In Rising Water
  • Alien Dictionary
  • Cheapest Flights Within K Stops

πŸš₯ 2-D Dynamic Programming

  • Unique Paths
  • Longest Common Subsequence
  • Best Time to Buy And Sell Stock With Cooldown
  • Coin Change II
  • Target Sum
  • Interleaving String
  • Longest Increasing Path In a Matrix
  • Distinct Subsequences
  • Edit Distance
  • Burst Balloons
  • Regular Expression Matching

βœ‚οΈ Bit Manipulation

  • Single Number
  • Number of 1 Bits
  • Counting Bits
  • Reverse Bits
  • Missing Number
  • Sum of Two Integers
  • Reverse Integer

πŸ“ Math & Geometry

  • Rotate Image
  • Spiral Matrix
  • Set Matrix Zeroes
  • Happy Number
  • Plus One
  • Pow(x, n)
  • Multiply Strings
  • Detect Squares

πŸ’¬ Contacto

Resuelto por Diego Zarate β€” Β‘seguimos mejorando!

About

Here's my solutions for Neetcode's problems in DSA.

Topics

Resources

Stars

Watchers

Forks

Languages