Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

alirezaudev-archive/neetcode-algorithms-for-beginners

Repository files navigation

ARRAYS

Difficulty Problem Solution
Easy Remove Duplicates from Sorted Array Python | PHP | Go
Easy Remove Element Python | PHP | Go
Easy Shuffle the Array Python | PHP | Go
Easy Concatenation of Array Python | PHP | Go
Easy Baseball Game Python | PHP | Go
Easy Valid Parentheses Python | PHP | Go
Medium Min Stack Python | PHP | Go

LINKED LISTS

Difficulty Problem Solution
Easy Reverse Linked List Python | PHP | Go
Easy Merge Two Sorted Lists Python | PHP | Go
Medium Design Linked List Python | PHP | Go
Medium Design Browser History Python | PHP | Go
Easy Number of Students Unable to Eat Lunch Python | PHP | Go
Easy Implement Stack using Queues Python | PHP | Go

RECURSION

Difficulty Problem Solution
Easy Reverse Linked List Python | PHP | Go
Easy Fibonacci Number Python | PHP | Go
Easy Climbing Stairs Python | PHP | Go

SORTING

Difficulty Problem Solution
Medium Sort an Array Python | PHP | Go
Hard Merge k Sorted Lists Python | PHP | Go
Medium Kth Larges Element in an Array Python | PHP | Go
Medium Sort Colors Python | PHP | Go

BINARY SEARCH

Difficulty Problem Solution
Easy Binary Search Python | PHP | Go
Medium Search a 2D Matrix Python | PHP |Go

TREES

Difficulty Problem Solution
Easy Search in a Binary Search Tree Python | PHP | Go
Medium Lowest Common Ancestor of a Binary Search Tree Python | PHP | Go
Medium Insert into a Binary Search Tree Python | PHP | Go
Medium Delete Node in a BST Python | PHP | Go
Easy Binary Tree Inorder Traversal Python | PHP | Go
Medium Kth Smallest Element in a BST Python | PHP | Go
Medium Construct Binary Tree from Preorder and Inorder traversal Python | PHP | Go
Medium Binary Tree Level Order Traversal Python | PHP | Go
Medium Binary Tree Right Side View Python | PHP | Go

BACKTRACKING

Difficulty Problem Solution
Easy Path Sum Python | PHP | Go
Medium Subsets Python | PHP | Go
Medium Combination Sum Python | PHP | Go

HEAP PRIORITY QUEUE

Difficulty Problem Solution
Easy Kth Largest Element in a Stream Python | PHP | Go
Easy Last Stone Weight Python | PHP | Go
Medium K Closest Point to Origin Python | PHP | Go

HASHING

Difficulty Problem Solution
Easy Contains Duplicate Python | PHP | Go
Easy Two Sum Python | PHP | Go
Medium LRU Cache Python | PHP | Go
Easy Design HashSet Python | PHP | Go
Easy Design HashMap Python | PHP | Go

GRAPHS

Difficulty Problem Solution
Medium Number of Islands Python | PHP | Go
Medium Max Area of Island Python | PHP | Go
Medium Shortest Path in Binary Matrix Python | PHP | Go
Medium Rotting Oranges Python | PHP | Go
Medium Clone Graph Python | PHP | Go
Medium Courses Schedule Python | PHP | Go

DYNAMIC PROGRAMMING

Difficulty Problem Solution
Medium House Robber Python | PHP | Go
Medium Unique Paths Python | PHP | Go
Medium Unique Paths II Python | PHP | Go
Medium Longest Common Subsequence Python | PHP | Go

BIT MANIPULATION

Difficulty Problem Solution
Easy Number of 1 Bits Python | PHP | Go
Easy Counting Bits Python | PHP | Go
Easy Reverse Bits Python | PHP | Go