Problem Statement: Given a 9×9 incomplete sudoku, solve it such that it becomes valid sudoku. Valid sudoku has the following
Continue readingTag: SDE Sheet
Flattening a Linked List
Flattening a Linked List Problem Statement: Given a Linked List of size N, where every node represents a sub-linked-list and
Continue readingCombination Sum II – Find all unique combinations
In this article we will solve the most asked interview question “Combination Sum II – Find all unique combinations”. Problem
Continue readingDynamic Programming: House Robber (DP 6)
Problem Statement: Dynamic Programming: House Robber (DP 6) Problem Statement Link: House Robber A thief needs to rob money in a
Continue readingStarting point of loop in a Linked List
In this article, we will learn how to solve the most asked coding interview question: “Starting point of the loop
Continue readingCheck if given Linked List is Plaindrome
Check if the given Linked List is Palindrome Problem Statement: Given the head of a singly linked list, return true
Continue readingMaximum sum of non-adjacent elements (DP 5)
In this article we will solve the problem: Maximum sum of non-adjacent elements (DP 5) Problem Statement: Given an array
Continue readingDynamic Programming: Frog Jump with k Distances (DP 4)
In this article, we will learn about “Dynamic Programming: Frog Jump with k Distances (DP 4)” Problem Statement: Frog Jump
Continue readingReverse Linked List in groups of Size K
In this article, we will solve a very popular question Reverse Linked List in groups of Size K. Problem Statement:
Continue readingDynamic Programming : Frog Jump (DP 3)
Problem Statement: Given a number of stairs and a frog, the frog wants to climb from the 0th stair to
Continue reading