Gaurav's GitHub Page
A place to code
HOME
CATEGORIES
TAGS
ARCHIVES
ABOUT ME
BUY ME A COFFEE
THANK YOU!
Home
Archives
Archives
Cancel
Archives
2024
14
Nov
HTTP Cookie
13
Nov
Cross-Site Scripting (XSS)
13
Nov
Content Security Policy
12
Nov
Reverse Engineering 101
11
Nov
Secure Coding in C and C++ (Part 2)
11
Nov
Secure Coding in Java - OWASP TOP 10
10
Nov
Security Tools
09
Nov
Secure Coding in C and C++ (Part 1)
21
Oct
Circular tour (geeksforgeeks - SDE Sheet)
21
Oct
Circle of strings (geeksforgeeks - SDE Sheet)
20
Oct
LRU Cache (geeksforgeeks - SDE Sheet)
17
Oct
Search Pattern (Rabin-Karp Algorithm) (geeksforgeeks - SDE Sheet)
16
Oct
Count total set bits (geeksforgeeks - SDE Sheet)
16
Oct
Rotate Bits (geeksforgeeks - SDE Sheet)
16
Oct
Rotate matrix elements clockwise (geeksforgeeks - SDE Sheet)
16
Oct
Alien Dictionary (geeksforgeeks - SDE Sheet)
15
Oct
Heap Sort (geeksforgeeks - SDE Sheet)
14
Oct
Palindrome Pairs (geeksforgeeks - SDE Sheet)
13
Oct
Common Elements (geeksforgeeks - SDE Sheet)
13
Oct
Minimum XOR value pair (geeksforgeeks - SDE Sheet)
13
Oct
Trie | (Delete) (geeksforgeeks - SDE Sheet)
13
Oct
Insert and Search in a Trie (geeksforgeeks - SDE Sheet)
13
Oct
Strongly Connected Components (Kosaraju's Algo) (geeksforgeeks - SDE Sheet)
12
Oct
Dijkstra Algorithm (geeksforgeeks - SDE Sheet)
12
Oct
Find the number of islands (geeksforgeeks - SDE Sheet)
12
Oct
Topological sort (geeksforgeeks - SDE Sheet)
12
Oct
Directed Graph Cycle (geeksforgeeks - SDE Sheet)
03
Oct
Maximize The Cut Segments (geeksforgeeks - SDE Sheet)
02
Oct
Undirected Graph Cycle (geeksforgeeks - SDE Sheet)
02
Oct
DFS of Graph (geeksforgeeks - SDE Sheet)
02
Oct
BFS of graph (geeksforgeeks - SDE Sheet)
02
Oct
Minimum sum partition (geeksforgeeks - SDE Sheet)
01
Oct
Snake and Ladder Problem (geeksforgeeks - SDE Sheet)
26
Sep
Egg Dropping Puzzle (geeksforgeeks - SDE Sheet)
25
Sep
Floyd Warshall (geeksforgeeks - SDE Sheet)
25
Sep
Max Sum Increasing Subsequence (geeksforgeeks - SDE Sheet)
23
Sep
Partition Equal Subset Sum (geeksforgeeks - SDE Sheet)
23
Sep
Longest Common Subsequence (geeksforgeeks - SDE Sheet)
22
Sep
Longest Increasing Subsequence (geeksforgeeks - SDE Sheet)
21
Sep
Count number of hops (geeksforgeeks - SDE Sheet)
21
Sep
Choose and Swap (geeksforgeeks - SDE Sheet)
21
Sep
Activity Selection (geeksforgeeks - SDE Sheet)
21
Sep
Page Faults in LRU (geeksforgeeks - SDE Sheet)
21
Sep
Minimum number of Coins (geeksforgeeks - SDE Sheet)
21
Sep
Largest number possible (geeksforgeeks - SDE Sheet)
20
Sep
N meetings in one room (geeksforgeeks - SDE Sheet)
20
Sep
Maximum Path Sum between 2 Special Nodes (geeksforgeeks - SDE Sheet)
20
Sep
Graph is Tree or Not (geeksforgeeks - SDE Sheet)
20
Sep
Merge two BST's (geeksforgeeks - SDE Sheet)
20
Sep
Serialize and deserialize a binary tree (geeksforgeeks - SDE Sheet)
19
Sep
Connect Nodes at Same Level (geeksforgeeks - SDE Sheet)
19
Sep
Vertical Tree Traversal (geeksforgeeks - SDE Sheet)
19
Sep
Bottom View of Binary Tree (geeksforgeeks - SDE Sheet)
18
Sep
Diameter of a Binary Tree (geeksforgeeks - SDE Sheet)
18
Sep
Array to BST (geeksforgeeks - SDE Sheet)
18
Sep
Lowest Common Ancestor in a BST (geeksforgeeks - SDE Sheet)
18
Sep
Symmetric Tree (geeksforgeeks - SDE Sheet)
17
Sep
Kth largest element in BST (geeksforgeeks - SDE Sheet)
17
Sep
Identical Trees (geeksforgeeks - SDE Sheet)
17
Sep
Height of Binary Tree (geeksforgeeks - SDE Sheet)
17
Sep
Balanced Tree Check (geeksforgeeks - SDE Sheet)
17
Sep
Left View of Binary Tree (geeksforgeeks - SDE Sheet)
17
Sep
Check for BST (geeksforgeeks - SDE Sheet)
17
Sep
Count Leaves in Binary Tree (geeksforgeeks - SDE Sheet)
16
Sep
Minimum Cost Path (geeksforgeeks - SDE Sheet)
16
Sep
Find median in a stream (geeksforgeeks - SDE Sheet)
15
Sep
Huffman Decoding-1 (geeksforgeeks - SDE Sheet)
15
Sep
Implement Queue using Linked List (geeksforgeeks - SDE Sheet)
15
Sep
Histogram Max Rectangular Area (geeksforgeeks - SDE Sheet)
15
Sep
Get minimum element from stack (geeksforgeeks - SDE Sheet)
15
Sep
Next Greater Element (geeksforgeeks - SDE Sheet)
15
Sep
Queue using two Stacks (geeksforgeeks - SDE Sheet)
15
Sep
Stack using two queues (geeksforgeeks - SDE Sheet)
14
Sep
Binary Tree to DLL (geeksforgeeks - SDE Sheet)
14
Sep
Reverse a Linked List in Groups (geeksforgeeks - SDE Sheet)
14
Sep
Merge K sorted linked lists (geeksforgeeks - SDE Sheet)
14
Sep
Merge two sorted linked lists (geeksforgeeks - SDE Sheet)
14
Sep
Flattening a Linked List (geeksforgeeks - SDE Sheet)
14
Sep
Rotate a Linked List (geeksforgeeks - SDE Sheet)
14
Sep
Intersection Point in Y Shaped Linked Lists (geeksforgeeks - SDE Sheet)
14
Sep
Add Number Linked Lists (geeksforgeeks - SDE Sheet)
14
Sep
Palindrome Linked List (geeksforgeeks - SDE Sheet)
12
Sep
Detect Loop in linked list (geeksforgeeks - SDE Sheet)
12
Sep
Remove loop in Linked List (geeksforgeeks - SDE Sheet)
12
Sep
Pairwise swap elements of a linked list (geeksforgeeks - SDE Sheet)
12
Sep
Implement Stack using Linked List (geeksforgeeks - SDE Sheet)
12
Sep
Sort a linked list of 0s, 1s and 2s (geeksforgeeks - SDE Sheet)
11
Sep
Delete without head pointer (geeksforgeeks - SDE Sheet)
11
Sep
Reverse a linked list (geeksforgeeks - SDE Sheet)
11
Sep
Middle of a Linked List (geeksforgeeks - SDE Sheet)
11
Sep
Kth from End of Linked List (geeksforgeeks - SDE Sheet)
10
Sep
Swap all odd and even bits (geeksforgeeks - SDE Sheet)
09
Sep
Longest Consecutive 1's (geeksforgeeks - SDE Sheet)
09
Sep
Party of Couples (geeksforgeeks - SDE Sheet)
09
Sep
Rightmost different bit (geeksforgeeks - SDE Sheet)
09
Sep
First Set Bit (geeksforgeeks - SDE Sheet)
09
Sep
K-th Bit is Set or Not (geeksforgeeks - SDE Sheet)
09
Sep
Power of 2 (geeksforgeeks - SDE Sheet)
09
Sep
Toggle bits in the given range (geeksforgeeks - SDE Sheet)
08
Sep
Set kth bit (geeksforgeeks - SDE Sheet)
08
Sep
Number is sparse or not (geeksforgeeks - SDE Sheet)
08
Sep
Bit Difference (geeksforgeeks - SDE Sheet)
08
Sep
N-Queen Problem (geeksforgeeks - SDE Sheet)
08
Sep
Rat in a Maze Problem - I (geeksforgeeks - SDE Sheet)
08
Sep
Special Keyboard (geeksforgeeks - SDE Sheet)
07
Sep
Word Boggle (geeksforgeeks - SDE Sheet)
05
Sep
Tower Of Hanoi (geeksforgeeks - SDE Sheet)
05
Sep
Level order traversal in spiral form (geeksforgeeks - SDE Sheet)
03
Sep
Edit Distance (geeksforgeeks - SDE Sheet)
03
Sep
Rearrange characters (geeksforgeeks - SDE Sheet)
01
Sep
Generate IP Addresses (geeksforgeeks - SDE Sheet)
01
Sep
Form a palindrome (geeksforgeeks - SDE Sheet)
01
Sep
Recursively remove all adjacent duplicates (geeksforgeeks - SDE Sheet)
01
Sep
Implement Atoi (geeksforgeeks - SDE Sheet)
01
Sep
Longest Common Substring (geeksforgeeks - SDE Sheet)
31
Aug
Permutations of a given string (geeksforgeeks - SDE Sheet)
31
Aug
Longest Palindrome in a String (geeksforgeeks - SDE Sheet)
31
Aug
Longest Distinct characters in string (geeksforgeeks - SDE Sheet)
31
Aug
Roman Number to Integer (geeksforgeeks - SDE Sheet)
31
Aug
String Rotated by 2 Places (geeksforgeeks - SDE Sheet)
31
Aug
Reverse Words (geeksforgeeks - SDE Sheet)
31
Aug
Parenthesis Checker (geeksforgeeks - SDE Sheet)
31
Aug
Implement strstr (geeksforgeeks - SDE Sheet)
31
Aug
Solve the Sudoku (geeksforgeeks - SDE Sheet)
30
Aug
Kth element in Matrix (geeksforgeeks - SDE Sheet)
30
Aug
Find whether path exist (geeksforgeeks - SDE Sheet)
30
Aug
Maximum path sum in matrix (geeksforgeeks - SDE Sheet)
30
Aug
Shortest Source to Destination Path (geeksforgeeks - SDE Sheet)
30
Aug
Rotten Oranges (geeksforgeeks - SDE Sheet)
29
Aug
Smallest window in a string containing all the characters of another string (geeksforgeeks - SDE Sheet)
28
Aug
Array Pair Sum Divisibility Problem (geeksforgeeks - SDE Sheet)
28
Aug
Longest consecutive subsequence (geeksforgeeks - SDE Sheet)
28
Aug
Convert a sentence into its equivalent mobile numeric keypad sequence (geeksforgeeks - SDE Sheet)
28
Aug
Find first repeated character (geeksforgeeks - SDE Sheet)
28
Aug
Minimum indexed character (geeksforgeeks - SDE Sheet)
28
Aug
Count distinct elements in every window (geeksforgeeks - SDE Sheet)
28
Aug
Remove Duplicates (geeksforgeeks - SDE Sheet)
28
Aug
Uncommon characters (geeksforgeeks - SDE Sheet)
28
Aug
Merge Without Extra Space (geeksforgeeks - SDE Sheet)
27
Aug
Number of pairs (geeksforgeeks - SDE Sheet)
26
Aug
Largest BST (geeksforgeeks - SDE Sheet)
26
Aug
Merge Sort (geeksforgeeks - SDE Sheet)
26
Aug
Find All Four Sum Numbers (geeksforgeeks - SDE Sheet)
26
Aug
Quick Sort (geeksforgeeks - SDE Sheet)
26
Aug
Maximize Toys (geeksforgeeks - SDE Sheet)
26
Aug
Anagram (geeksforgeeks - SDE Sheet)
25
Aug
Allocate Minimum Pages (geeksforgeeks - SDE Sheet)
25
Aug
Maximum no of 1's row (geeksforgeeks - SDE Sheet)
25
Aug
Find the element that appears once in sorted array (geeksforgeeks - SDE Sheet)
25
Aug
Overlapping Intervals (geeksforgeeks - SDE Sheet)
25
Aug
Sum of Middle elements of two sorted arrays (geeksforgeeks - SDE Sheet)
25
Aug
Swapping pairs make sum equal (geeksforgeeks - SDE Sheet)
25
Aug
Largest Number formed from an Array (geeksforgeeks - SDE Sheet)
25
Aug
Stock span problem (geeksforgeeks - SDE Sheet)
25
Aug
Coin Change (Count Ways) (geeksforgeeks - SDE Sheet)
25
Aug
K-th element of two Arrays (geeksforgeeks - SDE Sheet)
24
Aug
Stock buy and sell (geeksforgeeks - SDE Sheet)
24
Aug
Spirally traversing a matrix (geeksforgeeks - SDE Sheet)
24
Aug
K Sized Subarray Maximum (geeksforgeeks - SDE Sheet)
24
Aug
Largest subarray with 0 sum (geeksforgeeks - SDE Sheet)
24
Aug
Minimum Platforms (geeksforgeeks - SDE Sheet)
24
Aug
Count Inversions (geeksforgeeks - SDE Sheet)
24
Aug
Minimize the Heights II (geeksforgeeks - SDE Sheet)
22
Aug
Merge Strings Alternately
04
Aug
Design Bounded Blocking Queue
03
Jun
Minimum Number of Keypresses
03
Jun
Minimum Adjacent Swaps to Make a Valid Array
03
Jun
Next Greater Node In Linked List
28
May
Minimum Number of Food Buckets to Feed the Hamsters
17
May
Unique rows in boolean matrix (geeksforgeeks - SDE Sheet)
16
May
First non-repeating character in a stream (geeksforgeeks - SDE Sheet)
15
May
Uncommon characters (geeksforgeeks - SDE Sheet)
15
May
Search in a row-column sorted Matrix (geeksforgeeks - SDE Sheet)
15
May
Sort an array according to the other (geeksforgeeks - SDE Sheet)
14
May
Allocate minimum number of pages (geeksforgeeks - SDE Sheet)
13
May
Minimum Swaps to Sort (geeksforgeeks - SDE Sheet)
12
May
Rearrange Array Alternately (geeksforgeeks - SDE Sheet)
10
May
Zero Sum Subarrays (geeksforgeeks - SDE Sheet)
09
May
Largest subarray with 0 sum (geeksforgeeks - SDE Sheet)
08
May
Maximum of all subarrays of size k (geeksforgeeks - SDE Sheet)
30
Apr
Inorder Successor in BST
16
Apr
Reverse words in a given string (geeksforgeeks - SDE Sheet)
15
Apr
K-th element of two Arrays (geeksforgeeks - SDE Sheet)
09
Apr
Length Unsorted Subarray
08
Apr
Kth smallest element (geeksforgeeks - SDE Sheet)
07
Apr
Minimum number of jumps (geeksforgeeks - SDE Sheet)
07
Apr
Kadane's Algorithm (geeksforgeeks - SDE Sheet)
07
Apr
Find Indexes of a subarray with given sum (geeksforgeeks - SDE Sheet)
06
Apr
Minimize the sum of product (geeksforgeeks - SDE Sheet)
06
Apr
Convert array into Zig-Zag fashion (geeksforgeeks - SDE Sheet)
06
Apr
Find all pairs with a given sum (geeksforgeeks - SDE Sheet)
06
Apr
Longest Common Prefix in an Array (geeksforgeeks - SDE Sheet)
05
Apr
Equilibrium Point (geeksforgeeks - SDE Sheet)
05
Apr
Leaders in an array (geeksforgeeks - SDE Sheet)
04
Apr
Missing number in array (geeksforgeeks - SDE Sheet)
04
Apr
Array Subset of another array (geeksforgeeks - SDE Sheet)
03
Apr
Sort an array of 0s, 1s and 2s
23
Mar
Pascal's Triangle
11
Mar
Max Consecutive Ones III
02
Mar
Validate Binary Search Tree
28
Feb
Vowel and Consonant Substrings! (InterviewBit)
27
Feb
Remove Consecutive Characters (InterviewBit)
25
Feb
Implement StrStr (InterviewBit)
24
Feb
Divide Integers (InterviewBit)
23
Feb
Bulls and Cows (InterviewBit)
23
Feb
Amazing Subarrays (InterviewBit)
23
Feb
Longest Common Prefix (InterviewBit)
22
Feb
Self Permutation (InterviewBit)
22
Feb
String And Its Frequency (InterviewBit)
22
Feb
Deserialize (InterviewBit)
21
Feb
Different Bits Sum Pairwise (InterviewBit)
20
Feb
XOR-ing the Subarrays! (InterviewBit)
19
Feb
Min XOR value (InterviewBit)
16
Feb
Length of Last Word (InterviewBit)
13
Feb
Reverse Bits (InterviewBit)
12
Feb
Trailing Zeroes (InterviewBit)
12
Feb
Number of 1 Bits (InterviewBit)
11
Feb
Find a peak element (InterviewBit)
11
Feb
WoodCutting Made Easy! (InterviewBit)
11
Feb
Matrix Median (InterviewBit)
10
Feb
Implement Power Function (InterviewBit)
10
Feb
Painter's Partition Problem (InterviewBit)
09
Feb
Rotated Sorted Array Search (InterviewBit)
08
Feb
Allocate Books (InterviewBit)
08
Feb
Capacity To Ship Packages Within B Days (InterviewBit)
07
Feb
Square Root of Integer (InterviewBit)
07
Feb
Search in Bitonic Array! (InterviewBit)
06
Feb
Search for a Range (InterviewBit)
06
Feb
Matrix Search (InterviewBit)
31
Jan
Sorted Insert Position (InterviewBit)
30
Jan
Smaller or equal elements (InterviewBit)
30
Jan
PRETTYPRINT (InterviewBit)
29
Jan
Divisible by 60 (InterviewBit)
28
Jan
Excel Column Number (InterviewBit)
27
Jan
Reverse integer (InterviewBit)
26
Jan
Palindrome Integer (InterviewBit)
25
Jan
Highest Score (InterviewBit)
24
Jan
Prime Sum (InterviewBit)
23
Jan
Distribute in Circle! (InterviewBit)
23
Jan
Total Moves For Bishop! (InterviewBit)
23
Jan
Binary Representation (InterviewBit)
22
Jan
Verify Prime (InterviewBit)
22
Jan
Find Permutation (InterviewBit)
22
Jan
Next Permutation (InterviewBit)
21
Jan
Rotate Matrix (InterviewBit)
21
Jan
Largest Number (InterviewBit)
21
Jan
Sort array with squares! (InterviewBit)
21
Jan
Pigeonhole Sort
21
Jan
Maximum Consecutive Gap (InterviewBit)
21
Jan
Balance Array (InterviewBit)
20
Jan
Find Duplicate in Array (InterviewBit)
20
Jan
Triplets with Sum between given range (InterviewBit)
20
Jan
Spiral Order Matrix II (InterviewBit)
20
Jan
Anti Diagonals (InterviewBit)
20
Jan
Pascal Triangle (InterviewBit)
19
Jan
Kth Row of Pascal's Triangle (InterviewBit)
19
Jan
Segregate 0s and 1s in an array (InterviewBit)
19
Jan
Make equal elements Array (InterviewBit)
19
Jan
Perfect Peak of Array (InterviewBit)
18
Jan
Array Sum (InterviewBit)
18
Jan
Move Zeroes (InterviewBit)
18
Jan
N/3 Repeat Number (InterviewBit)
17
Jan
Repeat and Missing Number Array (InterviewBit)
17
Jan
First Missing Integer (InterviewBit)
16
Jan
Maximum Sum Square SubMatrix (InterviewBit)
15
Jan
Maximum Unsorted Subarray (InterviewBit)
15
Jan
Max Distance (InterviewBit)
14
Jan
Hotel Bookings Possible (InterviewBit)
14
Jan
Wave Array (InterviewBit)
14
Jan
Set Intersection (InterviewBit)
13
Jan
Reorder Data in Log Files (InterviewBit)
10
Jan
Max Min (InterviewBit)
09
Jan
Partitions (InterviewBit)
08
Jan
Flip (InterviewBit)
07
Jan
Maximum Area of Triangle (InterviewBit)
06
Jan
Maximum Absolute Difference (InterviewBit)
06
Jan
Maximum Sum Triplet (InterviewBit)
04
Jan
Minimum Lights to Activate (InterviewBit)
03
Jan
Min Steps in Infinite Grid (Interviewbit)
03
Jan
Pick from both sides (Interviewbit)
02
Jan
Occurence of Each Number (InterviewBit)
2023
23
Dec
Getting Started With Spring
25
Oct
Binary Tree Longest Consecutive Sequence
18
Oct
Find the Celebrity
17
Oct
Find Permutation
13
Oct
Missing Number In Arithmetic Progression
12
Oct
First Unique Number
11
Oct
Delete N Nodes After M Nodes of a Linked List
10
Oct
Remove Interval
09
Oct
Add Bold Tag in String
04
Oct
Missing Ranges
03
Oct
Candy Crush
02
Oct
Sparse Matrix Multiplication
01
Oct
Group Shifted Strings
27
Sep
Find K-Length Substrings With No Repeated Characters
27
Sep
Max Consecutive Ones II
26
Sep
Longest Substring with At Most Two Distinct Characters
25
Sep
Shortest Way to Form String
24
Sep
Longest Arithmetic Subsequence of Given Difference
24
Sep
Reverse Words in a String II
23
Sep
One Edit Distance
21
Sep
Confusing Number
20
Sep
Wiggle Sort
19
Sep
Maximum Distance in Arrays
16
Sep
Best Time to Buy and Sell Stock IV
16
Sep
Best Time to Buy and Sell Stock III
16
Sep
Word Search II
15
Sep
Text Justification
11
Sep
IPO
11
Sep
Max Points on a Line
10
Sep
Construct Quad Tree
07
Sep
Maximal Square
03
Sep
Minimum Path Sum
31
Aug
Furthest Point From Origin
26
Aug
Maximum Sum Circular Subarray
26
Aug
Find K Pairs with Smallest Sums
24
Aug
Sort List
24
Aug
Convert Sorted Array to Binary Search Tree
23
Aug
N-Queens II
19
Aug
Combinations
18
Aug
Find First and Last Position of Element in Sorted Array
18
Aug
Find Peak Element
17
Aug
Minimum Genetic Mutation
17
Aug
Snakes and Ladders
15
Aug
Evaluate Division
15
Aug
Search Insert Position
13
Aug
Minimum Absolute Difference in BST
12
Aug
Lowest Common Ancestor of a Binary Tree
12
Aug
Binary Search Tree Iterator
12
Aug
Count Complete Tree Nodes
12
Aug
Sum Root to Leaf Numbers
11
Aug
Flatten Binary Tree to Linked List
11
Aug
Populating Next Right Pointers in Each Node II
09
Aug
Partition List
08
Aug
Add Binary
08
Aug
Remove Duplicates from Sorted List II
07
Aug
Reverse Linked List II
05
Aug
Basic Calculator
04
Aug
Simplify Path
04
Aug
Valid Parentheses
03
Aug
Minimum Number of Arrows to Burst Balloons
03
Aug
Summary Ranges
03
Aug
Game of Life
02
Aug
Contains Duplicate II
01
Aug
Word Pattern
01
Aug
Isomorphic Strings
31
Jul
Substring with Concatenation of All Words
29
Jul
Minimum Size Subarray Sum
29
Jul
Insert Delete GetRandom O(1)
28
Jul
ZigZag Conversion
27
Jul
Reverse Words in a String
25
Jul
Length of Last Word
25
Jul
Integer to Roman
24
Jul
Roman to Integer
21
Jul
H-Index
19
Jul
Best Time to Buy and Sell Stock II
17
Jul
Design Patterns: Index
17
Jul
Design Pattern: Observer
17
Jul
Remove Duplicates from Sorted Array II
16
Jul
Design Pattern: Strategy
16
Jul
Merge Sorted Array
16
Jul
Design Pattern: Flyweight
16
Jul
Design Pattern: Facade
16
Jul
Design Pattern: Decorator
16
Jul
Design Pattern: Adapter
15
Jul
Java Multithreading - Interrupting Threads
15
Jul
Java Multithreading - Callable and Future
15
Jul
Java Multithreading - Semaphores
14
Jul
Java Multithreading - Deadlock
13
Jul
Design Pattern: Factory
13
Jul
Java Multithreading - Re-entrant Locks
12
Jul
Java Multithreading - Producer/Consumer (Using Low-Level Synchronization)
12
Jul
Java Multithreading - Wait and Notify
11
Jul
Java Multithreading - Producer/Consumer
10
Jul
Design Pattern: Prototype
10
Jul
Java Multithreading - Countdown Latches
06
Jul
Design Pattern: Builder
06
Jul
Java Multithreading - Thread Pools
05
Jul
Design Pattern: Singleton
05
Jul
Java Multithreading - Multiple Locks; Using Synchronized Code Blocks
04
Jul
Java Multithreading - The Synchronized Keyword
03
Jul
Java Multithreading - Basic Thread Synchronization
02
Jul
Java Multithreading - Starting Java Threads
07
May
Delete one
07
May
Find Greatest Common Divisor of Array
07
May
GCD and Inverse Modulo (Theory)
06
May
Count pairs in array divisible by K
06
May
Count Total Set Bits Till N
05
May
Minimum Swaps required to group all 1s together
05
May
All Sub-Matrices Sum
04
May
Find All Good Indices
02
May
First Missing Positive
30
Apr
Gray Code
30
Apr
Sum of Bitwise-OR of all Sub-Arrays
29
Apr
Diffk II
29
Apr
Largest Continuous Sequence Zero Sum
29
Apr
First Repeating element
28
Apr
tolower()
26
Apr
Josephus Problem
25
Apr
Majority Element
25
Apr
Help From Sam
23
Apr
Length of longest consecutive ones
23
Apr
Transpose of a Matrix
22
Apr
Even Subarrays
22
Apr
Closest MinMax
21
Apr
Pick from both sides!
21
Apr
Balance Array (Special Index)
16
Mar
Serialize and Deserialize Binary Tree
09
Mar
Sliding Window Maximum
08
Mar
Minimum Window Substring
07
Mar
LRU Cache
05
Mar
Alien Dictionary
05
Mar
Swim in Rising Water
05
Mar
Reconstruct Itinerary
04
Mar
Cheapest Flights Within K Stops
04
Mar
Network Delay Time
03
Mar
Min Cost to Connect All Points
02
Mar
Word Ladder
28
Feb
Walls and Gates
27
Feb
Pacific Atlantic Water Flow
26
Feb
Distance from the Source (Bellman-Ford Algorithm)
26
Feb
Floyd Warshall
25
Feb
Minimal Spanning Tree
23
Feb
Dijkstra Algorithm
22
Feb
Number of Provinces
21
Feb
Graphs 101 - Part 2
21
Feb
Graphs 101 - Part 1
20
Feb
Detect Squares
19
Feb
Multiply Strings
18
Feb
Plus One
18
Feb
Happy Number
12
Feb
Set Matrix Zeroes (InterviewBit)
12
Feb
Spiral Matrix
12
Feb
Rotate Image
11
Feb
Reverse Integer
11
Feb
Sum of Two Integers (Bit Manipulation)
09
Feb
Minimum Interval to Include Each Query
08
Feb
Meeting Rooms II
08
Feb
Meeting Rooms
07
Feb
Non-overlapping Intervals
07
Feb
Insert Interval
07
Feb
Merge Intervals
30
Jan
Valid Parenthesis String
29
Jan
Partition Labels
29
Jan
Merge Triplets to Form Target Triplet
29
Jan
Hand of Straights
29
Jan
Gas Station
26
Jan
Jump Game II
25
Jan
Jump Game
25
Jan
Maximum Subarray
22
Jan
Burst Balloons
22
Jan
Regular Expression Matching
22
Jan
Distinct Subsequences
22
Jan
Longest Increasing Path in a Matrix
22
Jan
Interleaving String
20
Jan
Target Sum
19
Jan
Coin Change II
18
Jan
Best Time to Buy and Sell Stock with Cooldown
16
Jan
Word Break
07
Jan
Palindrome Partitioning
07
Jan
Letter Combinations of a Phone Number
06
Jan
Word Search
06
Jan
Binary Tree Paths
2022
28
Dec
Binary Tree Maximum Path Sum 2
28
Dec
Count Good Nodes in Binary Tree
27
Dec
Subtree of Another Tree
27
Dec
Balanced Binary Tree
24
Dec
Same Tree
20
Dec
Find the Duplicate Number
19
Dec
Remove Duplicates from Sorted List
19
Dec
Rotate List
19
Dec
Swap Nodes in Pairs
19
Dec
Remove Nth Node From End of List
14
Dec
Reorder List
09
Dec
Design Twitter
08
Dec
Task Scheduler
06
Dec
K Closest Points to Origin
06
Dec
Median of Two Sorted Arrays
05
Dec
Min Cost Matrix Chain Multiplication
04
Dec
Matrix Chain Multiplication
04
Dec
Time Based Key-Value Store
04
Dec
Find Minimum in Rotated Sorted Array
03
Dec
Largest Rectangle in Histogram
03
Dec
Car Fleet
03
Dec
Daily Temperatures
02
Dec
Generate Parentheses
02
Dec
Determine if Two Strings Are Close
01
Dec
Evaluate Reverse Polish Notation
30
Nov
Graph Valid Tree
29
Nov
Clone Graph
28
Nov
Find Players With Zero or One Losses
27
Nov
Redundant Connection
27
Nov
Course Schedule II
27
Nov
Course Schedule
26
Nov
Surrounded Regions
26
Nov
Max Area of Island
26
Nov
Rotten Oranges
26
Nov
Number of Islands
26
Nov
Number of Connected Components in an Undirected Graph
25
Nov
Depth First Search
25
Nov
Breadth First Search
22
Nov
Coin Change
21
Nov
Palindromic Substrings
20
Nov
Longest Palindromic Substring
20
Nov
House Robber I
20
Nov
House Robber II
20
Nov
Min Cost Climbing Stairs
20
Nov
Flip Array
20
Nov
Partition Equal Subset Sum
19
Nov
Unbounded Knapsack
19
Nov
Knapsack Problem (0/1)
19
Nov
Regular Expression Match
18
Nov
Min Sum Path in Matrix
16
Nov
Min Triangle Sum
13
Nov
N digit numbers with digit sum S
13
Nov
Edit Distance
12
Nov
Longest Common Subsequence
12
Nov
Dungeon Game
12
Nov
Longest Increasing Subsequence
12
Nov
Maximum sum such that no two elements are adjacent
12
Nov
Perfect Squares
11
Nov
Unique Paths II
07
Nov
Paint House
07
Nov
Unique Paths
06
Nov
Ways to Decode
06
Nov
Maximum Sum Value - A[i]*B + A[j]*C + A[k]*D
04
Nov
Search in Rotated Sorted Array
04
Nov
Koko Eating Bananas
04
Nov
Valid Sudoku
04
Nov
Max Product Subarray
04
Nov
Max Sum Without Adjacent Elements
04
Nov
Friends Pairing Problem
04
Nov
Minimum Number of Squares
02
Nov
Fibonacci Number
01
Nov
Stairs
31
Oct
Combination Sum II
31
Oct
Subsets II
31
Oct
Subsets
31
Oct
Combination Sum
30
Oct
Permutations
30
Oct
N-Queens
30
Oct
Next Greater Element IV
30
Oct
Next Greater Element III
29
Oct
Next Greater Element II
29
Oct
Next Greater Element I
29
Oct
Search a 2D Matrix II
28
Oct
Search a 2D Matrix
27
Oct
Permutation in String
26
Oct
Longest Repeating Character Replacement
25
Oct
All Subsets
25
Oct
All Subsets II
24
Oct
Longest Substring Without Repeating Characters
24
Oct
Best Time to Buy and Sell Stock
23
Oct
Noble Integer
22
Oct
Container With Most Water
22
Oct
Two Sum II - Input Array Is Sorted
22
Oct
Valid Palindrome
22
Oct
Sort K-Sorted Array
20
Oct
Maximum Profit When Buying a Car
20
Oct
Distribute Candy
20
Oct
Finish Maximum Jobs
19
Oct
Kth Largest Element in a Stream
18
Oct
Find Median from Data Stream
17
Oct
Last Stone Weight
15
Oct
Kth Largest Element in an Array
15
Oct
Reverse Bits
15
Oct
Zigzag Traversal
14
Oct
Maximum AND Value
14
Oct
Missing Number
14
Oct
Sum of XOR of all pairs
12
Oct
Single Number II
12
Oct
Single Number I
12
Oct
Single Number III
11
Oct
Introduction to Bit Manipulation - Part 4
11
Oct
Introduction to Bit Manipulation - Part 3
11
Oct
Introduction to Bit Manipulation - Part 2
11
Oct
Introduction to Bit Manipulation - Part 1
11
Oct
Counting Bits
11
Oct
Number of 1 Bits
11
Oct
Longest Consecutive Sequence
10
Oct
Encode and Decode Strings
09
Oct
Product of Array Except Self
09
Oct
Design Add and Search Words Data Structure
09
Oct
Implement Trie (Prefix Tree)
09
Oct
Top K Frequent Elements
09
Oct
Group Anagrams
09
Oct
Two Sum
09
Oct
Valid Anagram
09
Oct
Contains Duplicate
07
Oct
Min Stack
06
Oct
3 sum
06
Oct
Right Smaller Than
05
Oct
Multi String Search (Trie)
05
Oct
Trie - Introduction - Part 2
05
Oct
Trie - Introduction - Part 1
05
Oct
Populating Next Right Pointers in Each Node - Perfect Binary Tree
04
Oct
Binary Tree Maximum Path Sum
03
Oct
Validate Three Nodes in BST
03
Oct
Lowest Common Ancestor - Using In-time and Out-time
03
Oct
Lowest Common Ancestor of a Binary Search Tree
02
Oct
Morris Traversal
02
Oct
Construct Binary Tree from Inorder and Postorder Traversal
02
Oct
Binary Tree Right Side View
02
Oct
Kth Smallest Element in a BST
01
Oct
Equal Tree Partition - Binary Tree
01
Oct
Recover Binary Search Tree
01
Oct
Least Common Ancestor - Binary Tree
27
Sep
Valid Binary Search Tree
26
Sep
Delete a Node in Binary Search Tree
25
Sep
Construct Binary Tree from Preorder and Inorder Traversal
24
Sep
Vertical Order Traversal - Binary Tree
23
Sep
Binary Tree - Level Order Traversal II
23
Sep
Size of a Binary Search Tree
23
Sep
Height of a Binary Search Tree
18
Sep
Count Days Spent Together
16
Sep
Evaluate Expression
16
Sep
Double Character Trouble
16
Sep
Balanced Parenthesis
14
Sep
Nearest Smaller Element
11
Sep
Clone Linked List with Random Pointer - Constant Space Complexity
11
Sep
Clone Linked List with Random Pointer
10
Sep
Merge K Sorted Linked Lists
09
Sep
Merge Sort Linked List
08
Sep
Merge Two Sorted Linked List - 2
08
Sep
Reverse a Linked List in K Groups
07
Sep
Reverse a Linked List
07
Sep
Reverse First K Nodes - LinkedList
03
Sep
Rabin Karp
31
Aug
Pattern Matcher
31
Aug
Longest Prefix Suffix
26
Aug
Common Elements in Two Arrays
25
Aug
Count Rectangles
25
Aug
Count Right Triangles
23
Aug
Minimum Area Rectangle
22
Aug
Count of Pairs with k Sum in Sorted Array
21
Aug
Sub-Array with Given Sum (Two Pointers)
21
Aug
Maximum Water between Two Walls
21
Aug
2 Pair Difference (Two Pointers)
21
Aug
2 Pair Sum (Two Pointers)
19
Aug
Kth Element (Without Sorting)
12
Aug
Special Integer - Maximum Sum with Max Length k
10
Aug
Ath Magical Number
09
Aug
Radix Sort
07
Aug
Aggressive Cows
06
Aug
Find Square Root (Binary Search Approach)
05
Aug
Shifted Binary Search
02
Aug
Count Inversion
01
Aug
Two Arrays, Find Pairs A[i] > B[j]
31
Jul
Duplicate Zeroes
29
Jul
Merge Sort
29
Jul
Sort Sub-Array in Array Given s,m,e
28
Jul
Find Kth Smallest Element
21
Jul
Find Number of Divisors
21
Jul
Smallest Prime Factor
21
Jul
Find Prime Numbers
21
Jul
Check Prime
11
Jul
A%M == B%M
11
Jul
Change Array[i] to Array[Array[i]]
04
Jul
Merge Two Sorted LinkedList
04
Jul
Maximum Sum Sub-Matrix
03
Jul
Largest Range in the Array
03
Jul
Sort based on Three Numbers
02
Jul
Find the Smallest Sub-Array to Sort
02
Jul
Trapping Rain Water
30
Jun
Sum of all Sub-Arrays
29
Jun
Sum of Linked Lists
28
Jun
Kadane's Algorithm
27
Jun
Sort Stack (In Place)
27
Jun
Max Path Sum in Binary Tree
27
Jun
Height Balanced Binary Tree
27
Jun
Find Successor in Binary Tree
26
Jun
Binary Tree Diameter
26
Jun
Bubble Sort
23
Jun
Power Set
21
Jun
Invert Binary Tree
21
Jun
Min Height BST
21
Jun
Validate BST
21
Jun
Find kth Largest Value in BST
18
Jun
Palindrome LinkedList
17
Jun
Reverse a LinkedList
16
Jun
Squares of a Sorted Array
16
Jun
Remove nth Node From End of LinkedList
16
Jun
Linked List Cycle
15
Jun
Power Function
15
Jun
Reverse String
14
Jun
Find Leader in an Array (Carry Forward Technique)
14
Jun
Subarray with 0 sum
14
Jun
Equilibrium Index of an Array
14
Jun
Prefix Sum Array
13
Jun
Path Sum - Binary Tree
13
Jun
Symmetric Binary Tree
12
Jun
Maximum Depth of Binary Tree
12
Jun
Binary Tree Level Order Traversal
12
Jun
Rotate an Array k times
12
Jun
Reverse an Array
12
Jun
Reverse an Array in the given Range
2021
09
Apr
Binary Search Tree - Insert
07
Apr
String Palindrome
2020
25
Apr
Find Square Root
Recent Update
Cross-Site Scripting (XSS)
HTTP Cookie
Content Security Policy
Secure Coding in C and C++ (Part 1)
Circle of strings (geeksforgeeks - SDE Sheet)
Trending Tags
java
geeksforgeeks
important
leetcode
sde-sheet
arrays
neetcode150
binarytree
dynamic_programming
interviewbit
Trending Tags
java
geeksforgeeks
important
leetcode
sde sheet
arrays
neetcode150
binarytree
dynamic_programming
interviewbit