10 Best Data Structure and Algorithm Courses Online You Should Opt In

10 Best Data Structure and Algorithm Courses Online You Should Opt In

DSA is a core concept in programming. It stands for data structures and algorithms. Any programming…

Find Minimum Platforms Needed to Avoid Delay in the Train Arrival

Find Minimum Platforms Needed to Avoid Delay in the Train Arrival

Problem The objective is to identify the minimal number of train platforms necessary for the rai…

Maximum Difference Between Two Elements Such that Larger Element Appears After the Smaller Number

Maximum Difference Between Two Elements Such that Larger Element Appears After the Smaller Number

Problem Find the maximum difference between two array elements such that the bigger element appe…

Check if a Binary Tree is Height-Balanced or Not

Check if a Binary Tree is Height-Balanced or Not

Problem Given a binary tree. You need to check if it is height-balanced or not. A tree is heigh…

Convert a Binary Tree to Its Mirror Tree

Convert a Binary Tree to Its Mirror Tree

A binary tree is an important data structure. It has numerous applications in programming. A binary…

Find Maximum Sequence of Continuous 1s Formed by Replacing at-most ‘k’ 0s by 1s

Find Maximum Sequence of Continuous 1s Formed by Replacing at-most ‘k’ 0s by 1s

Problem Given a binary array and an integer k, return the maximum number of consecutive 1's …

Check for pairs in an array with a particular sum

Check for pairs in an array with a particular sum

Consider an array arr[] with n elements where the values in the array consist of both positive valu…

Find the Maximum of Minimum for Every Window Size in a Given Array

Find the Maximum of Minimum for Every Window Size in a Given Array

In this tutorial, we are going to find the maximum and minimum for every window size in a given Arr…

Count all Possible Paths from Top Left to Bottom Right in a Matrix

Count all Possible Paths from Top Left to Bottom Right in a Matrix

You are given a matrix of m*n dimensions. You have to calculate the total number of possible paths …

Reverse a Linked List

Reverse a Linked List

Linked List is one of the most important data structures in computer science due to several reasons…

Data Structure Interview Questions and Answers

Data Structure Interview Questions and Answers

Every year many computer science graduates apply for jobs related to programming, coding, and softw…

How to Learn Computer Science? From Zero to Hero

How to Learn Computer Science? From Zero to Hero

If you are a computer science student, so you must have many questions related to the IT industry, …