DEV Community

100 DAYS Series' Articles

Back to Nayan Pahuja's Series
DAY 1 - TWO SUM

DAY 1 - TWO SUM

3
Comments 3
3 min read
DAY 2 - Set Matrix Zeroes

DAY 2 - Set Matrix Zeroes

Comments 2
3 min read
DAY 3 - Pascal's Triangle

DAY 3 - Pascal's Triangle

Comments 1
4 min read
DAY 4 - Dutch National Flag Algorithm
Cover image for DAY 4 - Dutch National Flag Algorithm

DAY 4 - Dutch National Flag Algorithm

Comments
3 min read
DAY 5 - Best Time to Buy and Sell Stock
Cover image for DAY 5 - Best Time to Buy and Sell Stock

DAY 5 - Best Time to Buy and Sell Stock

Comments
3 min read
DAY 5(II) - Rotate Image
Cover image for DAY 5(II) - Rotate Image

DAY 5(II) - Rotate Image

Comments
2 min read
DAY 6 - Longest Consecutive Sequence

DAY 6 - Longest Consecutive Sequence

Comments
2 min read
DAY 7- Minimum number of Coins
Cover image for DAY 7- Minimum number of Coins

DAY 7- Minimum number of Coins

Comments
2 min read
DAY 8 - Jump Game
Cover image for DAY 8 - Jump Game

DAY 8 - Jump Game

Comments
2 min read
DAY 9 - Candy Distribution Problem
Cover image for DAY 9 - Candy Distribution Problem

DAY 9 - Candy Distribution Problem

Comments
2 min read
DAY 10 - Subset Sums
Cover image for DAY 10 - Subset Sums

DAY 10 - Subset Sums

Comments
2 min read
DAY 11 - Combination Sum
Cover image for DAY 11 - Combination Sum

DAY 11 - Combination Sum

Comments
2 min read
DAY 12 - Count Good Numbers
Cover image for DAY 12 - Count Good Numbers

DAY 12 - Count Good Numbers

Comments
2 min read
DAY 13 - House Robber
Cover image for DAY 13 - House Robber

DAY 13 - House Robber

Comments 1
2 min read
DAY 14 - Grid Unique Paths II
Cover image for DAY 14 - Grid Unique Paths II

DAY 14 - Grid Unique Paths II

Comments
4 min read
DAY 15 - Subset Sum Problem
Cover image for DAY 15 - Subset Sum Problem

DAY 15 - Subset Sum Problem

Comments
4 min read
DAY 16 - Partition Equal Subset Sum
Cover image for DAY 16 - Partition Equal Subset Sum

DAY 16 - Partition Equal Subset Sum

Comments
5 min read
DAY 17 - Minimum sum partition

DAY 17 - Minimum sum partition

Comments
3 min read
DAY 18 - Longest Common Subsequence
Cover image for DAY 18 - Longest Common Subsequence

DAY 18 - Longest Common Subsequence

1
Comments
4 min read
DAY 19 - Longest Common Substring
Cover image for DAY 19 - Longest Common Substring

DAY 19 - Longest Common Substring

Comments
3 min read
DAY 20 - Longest Palindromic Subsequence

DAY 20 - Longest Palindromic Subsequence

2
Comments
3 min read
DAY 21 - Edit Distance
Cover image for DAY 21 - Edit Distance

DAY 21 - Edit Distance

Comments
4 min read
DAY 22 - Best Time to Buy and Sell Stock II

DAY 22 - Best Time to Buy and Sell Stock II

Comments
5 min read
DAY 23 - Best Time to Buy and Sell Stock III

DAY 23 - Best Time to Buy and Sell Stock III

Comments
5 min read
DAY 24 - Wiggle Subsequence

DAY 24 - Wiggle Subsequence

Comments
4 min read
DAY 25 - Longest String Chain

DAY 25 - Longest String Chain

Comments
3 min read
DAY 26 - Matrix Chain Multiplication

DAY 26 - Matrix Chain Multiplication

Comments
4 min read
DAY 27 - Partition Array for Maximum Sum

DAY 27 - Partition Array for Maximum Sum

Comments
4 min read
DAY 28 - Longest substring without repeating characters
Cover image for DAY 28 - Longest substring without repeating characters

DAY 28 - Longest substring without repeating characters

Comments
3 min read
DAY 29 - Maximum Number of Achievable Transfer Requests
Cover image for DAY 29 - Maximum Number of Achievable Transfer Requests

DAY 29 - Maximum Number of Achievable Transfer Requests

Comments
4 min read
DAY 30 - Binary Subarrays With Sum
Cover image for DAY 30 - Binary Subarrays With Sum

DAY 30 - Binary Subarrays With Sum

Comments
3 min read
DAY 31 - Maximum Points You Can Obtain from Cards
Cover image for DAY 31 - Maximum Points You Can Obtain from Cards

DAY 31 - Maximum Points You Can Obtain from Cards

Comments
3 min read
DAY 32 -Number of Provinces
Cover image for DAY 32 -Number of Provinces

DAY 32 -Number of Provinces

Comments
3 min read
DAY 33 - Rotting Oranges
Cover image for DAY 33 - Rotting Oranges

DAY 33 - Rotting Oranges

1
Comments
3 min read
DAY 34 - 0/1 Matrix
Cover image for DAY 34 - 0/1 Matrix

DAY 34 - 0/1 Matrix

Comments
3 min read
DAY 35- Word Ladder I
Cover image for DAY 35- Word Ladder I

DAY 35- Word Ladder I

Comments
3 min read
DAY 36 - Bipartite Graph

DAY 36 - Bipartite Graph

Comments
3 min read
DAY 37 - Topological Sort
Cover image for DAY 37 - Topological Sort

DAY 37 - Topological Sort

Comments
3 min read
DAY 38 - Alien Dictionary
Cover image for DAY 38 - Alien Dictionary

DAY 38 - Alien Dictionary

5
Comments
5 min read
DAY 39 - Shortest Path in Undirected graph
Cover image for DAY 39 - Shortest Path in Undirected graph

DAY 39 - Shortest Path in Undirected graph

Comments
3 min read
DAY 40 - Shortest Path in Weighted undirected graph
Cover image for DAY 40 - Shortest Path in Weighted undirected graph

DAY 40 - Shortest Path in Weighted undirected graph

1
Comments
4 min read
DAY 41 - Shortest Path in a Binary Matrix
Cover image for DAY 41 - Shortest Path in a Binary Matrix

DAY 41 - Shortest Path in a Binary Matrix

2
Comments
4 min read
DAY 42 - Cheapest Flights Within K Stops
Cover image for DAY 42 - Cheapest Flights Within K Stops

DAY 42 - Cheapest Flights Within K Stops

Comments
4 min read
DAY 43 - Minimum Multiplications to reach End
Cover image for DAY 43 - Minimum Multiplications to reach End

DAY 43 - Minimum Multiplications to reach End

Comments
3 min read
DAY 44 - Find the City With the Smallest Number of Neighbors at a Threshold Distance
Cover image for DAY 44 - Find the City With the Smallest Number of Neighbors at a Threshold Distance

DAY 44 - Find the City With the Smallest Number of Neighbors at a Threshold Distance

Comments
4 min read
DAY 45 - LRU Cache
Cover image for DAY 45 - LRU Cache

DAY 45 - LRU Cache

Comments
3 min read
DAY 46 - Minimum Spanning Tree

DAY 46 - Minimum Spanning Tree

Comments
4 min read
DAY 47 - Number of Operations to make network connected
Cover image for DAY 47 - Number of Operations to make network connected

DAY 47 - Number of Operations to make network connected

Comments
3 min read
DAY 48 - Asteroid Collision
Cover image for DAY 48 - Asteroid Collision

DAY 48 - Asteroid Collision

Comments
3 min read
DAY 49 - Making a large Island
Cover image for DAY 49 - Making a large Island

DAY 49 - Making a large Island

Comments
4 min read
DAY 50 - Knight Probability in Chessboard
Cover image for DAY 50 - Knight Probability in Chessboard

DAY 50 - Knight Probability in Chessboard

Comments
4 min read
DAY 51 - Power of a Number n

DAY 51 - Power of a Number n

Comments
2 min read
DAY 52 - Peak Index in a Mountain Array
Cover image for DAY 52 - Peak Index in a Mountain Array

DAY 52 - Peak Index in a Mountain Array

Comments
2 min read
DAY 53 - Minimum Speed to Arrive on Time
Cover image for DAY 53 - Minimum Speed to Arrive on Time

DAY 53 - Minimum Speed to Arrive on Time

Comments
3 min read
DAY 54 - Traversals in a Binary Tree
Cover image for DAY 54 - Traversals in a Binary Tree

DAY 54 - Traversals in a Binary Tree

Comments
3 min read
DAY 55 - Traversals in a Binary Tree Part 2
Cover image for DAY 55 - Traversals in a Binary Tree Part 2

DAY 55 - Traversals in a Binary Tree Part 2

Comments
3 min read
DAY 56 - Binary Tree Questions(I)
Cover image for DAY 56 - Binary Tree Questions(I)

DAY 56 - Binary Tree Questions(I)

Comments
3 min read
DAY 57 - Binary Tree Maximum Path Sum
Cover image for DAY 57 - Binary Tree Maximum Path Sum

DAY 57 - Binary Tree Maximum Path Sum

Comments
3 min read
DAY 58 - Binary Tree Questions(II)
Cover image for DAY 58 - Binary Tree Questions(II)

DAY 58 - Binary Tree Questions(II)

Comments
3 min read
DAY 59 - Maximum Width of Binary Tree
Cover image for DAY 59 - Maximum Width of Binary Tree

DAY 59 - Maximum Width of Binary Tree

Comments
4 min read
DAY 60 - All Nodes Distance K in Binary Tree
Cover image for DAY 60 - All Nodes Distance K in Binary Tree

DAY 60 - All Nodes Distance K in Binary Tree

Comments
4 min read
DAY 61 - Serialize and Deserialize Binary Tree
Cover image for DAY 61 - Serialize and Deserialize Binary Tree

DAY 61 - Serialize and Deserialize Binary Tree

Comments
4 min read
DAY 62 - Flatten a Binary Tree into a linked list
Cover image for DAY 62 - Flatten a Binary Tree into a linked list

DAY 62 - Flatten a Binary Tree into a linked list

Comments
3 min read
DAY 63 - Unique Binary Search Trees II
Cover image for DAY 63 - Unique Binary Search Trees II

DAY 63 - Unique Binary Search Trees II

Comments
4 min read
DAY 64 - SUBARRAYS AND OR PROBLEM
Cover image for DAY 64 - SUBARRAYS AND OR PROBLEM

DAY 64 - SUBARRAYS AND OR PROBLEM

1
Comments
4 min read
DAY 65 - Kth Smallest Element in a BST
Cover image for DAY 65 - Kth Smallest Element in a BST

DAY 65 - Kth Smallest Element in a BST

2
Comments
3 min read
DAY 66 - Two Sum IV - Input is a BST
Cover image for DAY 66 - Two Sum IV - Input is a BST

DAY 66 - Two Sum IV - Input is a BST

1
Comments
3 min read
DAY 67 - 231. Power of Two
Cover image for DAY 67 - 231. Power of Two

DAY 67 - 231. Power of Two

1
Comments
3 min read
DAY 68 - Single Number I
Cover image for DAY 68 - Single Number I

DAY 68 - Single Number I

Comments
2 min read
DAY 69 - Number of 1 Bits
Cover image for DAY 69 - Number of 1 Bits

DAY 69 - Number of 1 Bits

Comments
2 min read
DAY 70 - Find the Difference
Cover image for DAY 70 - Find the Difference

DAY 70 - Find the Difference

Comments
2 min read
DAY 71 - Minimum Bit Flips to Convert Number
Cover image for DAY 71 - Minimum Bit Flips to Convert Number

DAY 71 - Minimum Bit Flips to Convert Number

1
Comments 2
2 min read
DAY 72- 215. Kth Largest Element in an Array
Cover image for DAY 72- 215. Kth Largest Element in an Array

DAY 72- 215. Kth Largest Element in an Array

Comments
2 min read
DAY 73 - 86. Partition List
Cover image for DAY 73 - 86. Partition List

DAY 73 - 86. Partition List

Comments
2 min read
DAY 74 - 239. Sliding Window Maximum
Cover image for DAY 74 - 239. Sliding Window Maximum

DAY 74 - 239. Sliding Window Maximum

Comments
3 min read
DAY 75 - 875. Koko Eating Bananas
Cover image for DAY 75 - 875. Koko Eating Bananas

DAY 75 - 875. Koko Eating Bananas

Comments
3 min read
DAY 76 - Minimum Number of days to make m bouquets.
Cover image for DAY 76 - Minimum Number of days to make m bouquets.

DAY 76 - Minimum Number of days to make m bouquets.

Comments
3 min read
DAY 77 - Find the Smallest Divisor Given a Threshold
Cover image for DAY 77 - Find the Smallest Divisor Given a Threshold

DAY 77 - Find the Smallest Divisor Given a Threshold

Comments
2 min read
DAY 78 - Finding Kth Missing Positive Integer

DAY 78 - Finding Kth Missing Positive Integer

Comments
2 min read
DAY 79 - Aggressive Cows Problem
Cover image for DAY 79 - Aggressive Cows Problem

DAY 79 - Aggressive Cows Problem

Comments
3 min read
DAY 80 - 168. Excel Sheet Column Title
Cover image for DAY 80 - 168. Excel Sheet Column Title

DAY 80 - 168. Excel Sheet Column Title

Comments
2 min read
DAY 81 - 410. Split Array Largest Sum
Cover image for DAY 81 - 410. Split Array Largest Sum

DAY 81 - 410. Split Array Largest Sum

Comments
3 min read
DAY 82 - Search a 2D Matrix II
Cover image for DAY 82 - Search a 2D Matrix II

DAY 82 - Search a 2D Matrix II

Comments
4 min read
DAY 83 - MATRIX MEDIAN
Cover image for DAY 83 - MATRIX MEDIAN

DAY 83 - MATRIX MEDIAN

1
Comments
3 min read
DAY 84 - 646. Maximum Length of Pair Chain

DAY 84 - 646. Maximum Length of Pair Chain

Comments
2 min read
DAY 85 - Frog Jump
Cover image for DAY 85 - Frog Jump

DAY 85 - Frog Jump

Comments
3 min read
DAY 86 - 225. Implement Stack using Queues
Cover image for DAY 86 - 225. Implement Stack using Queues

DAY 86 - 225. Implement Stack using Queues

1
Comments
3 min read
DAY 87 - 2483. Minimum Penalty for a Shop
Cover image for DAY 87 - 2483. Minimum Penalty for a Shop

DAY 87 - 2483. Minimum Penalty for a Shop

Comments
2 min read
DAY 88 - 2366. Minimum Replacements to Sort the Array
Cover image for DAY 88 - 2366. Minimum Replacements to Sort the Array

DAY 88 - 2366. Minimum Replacements to Sort the Array

Comments
3 min read
DAY 89 - Kadane's Algorithm
Cover image for DAY 89 - Kadane's Algorithm

DAY 89 - Kadane's Algorithm

Comments
4 min read
DAY 90 - 338. Counting Bits
Cover image for DAY 90 - 338. Counting Bits

DAY 90 - 338. Counting Bits

Comments
2 min read
DAY 91 - 51. N-Queens
Cover image for DAY 91 - 51. N-Queens

DAY 91 - 51. N-Queens

Comments
3 min read
DAY 92 - Can I serve my Customers
Cover image for DAY 92 - Can I serve my Customers

DAY 92 - Can I serve my Customers

1
Comments
3 min read
DAY 93 - Floyd Cycle Detection Algorithm. Finding a Cycle in a Linked List
Cover image for DAY 93 - Floyd Cycle Detection Algorithm. Finding a Cycle in a Linked List

DAY 93 - Floyd Cycle Detection Algorithm. Finding a Cycle in a Linked List

1
Comments
3 min read
DAY 94 - Add Two Numbers
Cover image for DAY 94 - Add Two Numbers

DAY 94 - Add Two Numbers

1
Comments
3 min read
DAY 95 - Finding the middle of linked list
Cover image for DAY 95 - Finding the middle of linked list

DAY 95 - Finding the middle of linked list

1
Comments
2 min read
DAY 96 - Reverse Linked List II
Cover image for DAY 96 - Reverse Linked List II

DAY 96 - Reverse Linked List II

Comments
2 min read
DAY 97 - Removing Elements from a Linked List
Cover image for DAY 97 - Removing Elements from a Linked List

DAY 97 - Removing Elements from a Linked List

Comments
2 min read
DAY 98 - Intersection of Two Linked Lists
Cover image for DAY 98 - Intersection of Two Linked Lists

DAY 98 - Intersection of Two Linked Lists

Comments
3 min read
DAY 99 - 234. Palindrome Linked List
Cover image for DAY 99 - 234. Palindrome Linked List

DAY 99 - 234. Palindrome Linked List

Comments
3 min read
DAY 100 - 1282. Group the People Given the Group Size They Belong To
Cover image for DAY 100 - 1282. Group the People Given the Group Size They Belong To

DAY 100 - 1282. Group the People Given the Group Size They Belong To

Comments
4 min read
DAY 101 - 61. Rotate List
Cover image for DAY 101 - 61. Rotate List

DAY 101 - 61. Rotate List

Comments
3 min read
DAY 102 - 2130. Maximum Twin Sum of a Linked List
Cover image for DAY 102 - 2130. Maximum Twin Sum of a Linked List

DAY 102 - 2130. Maximum Twin Sum of a Linked List

Comments
4 min read
DAY 103 - Copy List with Random Pointer
Cover image for DAY 103 - Copy List with Random Pointer

DAY 103 - Copy List with Random Pointer

Comments
4 min read
DAY 104 - Merge k Sorted Lists
Cover image for DAY 104 - Merge k Sorted Lists

DAY 104 - Merge k Sorted Lists

Comments
3 min read
DAY 105 - 155. Min Stack
Cover image for DAY 105 - 155. Min Stack

DAY 105 - 155. Min Stack

Comments
3 min read
DAY 106 - Next Greater Element I
Cover image for DAY 106 - Next Greater Element I

DAY 106 - Next Greater Element I

Comments
3 min read
DAY 107 - Daily Temperatures
Cover image for DAY 107 - Daily Temperatures

DAY 107 - Daily Temperatures

1
Comments
3 min read
DAY 108 - Find Duplicate
Cover image for DAY 108 - Find Duplicate

DAY 108 - Find Duplicate

Comments
2 min read