DATA STRUCTURE


vinaykhatri
Vinay Khatri 8 May, 2021

How to find and remove loops in a Linked List?

Question Given a Linked List, how can you detect and remove a loop from that linked list efficie…

vinaykhatri
Vinay Khatri 8 May, 2021

Check if a subarray with 0 sum exists or not

Problem Statement Let us say that we have given an array arr. We need to check if any subarray o…

vinaykhatri
Vinay Khatri 8 May, 2021

Find ancestors of a given node in a Binary Tree

Find all the ancestors of a given node in a binary tree You are given a binary tree and a node. …

vinaykhatri
Vinay Khatri 8 May, 2021

Diameter of a Binary Tree

Diameter of a Binary Tree The diameter of a tree or a binary tree is referred to as the count of…

vinaykhatri
Vinay Khatri 2 August, 2020

Difference Between Repeater, DataList and GridView

To display and modify data in an Asp.Net web application, we can use data-bound controls, such as R…

vinaykhatri
Vinay Khatri 24 February, 2020

Data Structure Interview Questions and Answers

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

vinaykhatri
Vinay Khatri 5 January, 2020

Bellman-Ford Algorithm

Bellman-Ford Algorithm, which can apply on weighted Graph Data Structure, to find the shortest path…

vinaykhatri
Vinay Khatri 7 December, 2019

What is Structured Programming? [Definition, Pros, and Cons]

Whether you are a novice or skilled programmer, you will definitely face difficulties in understand…

vinaykhatri
Vinay Khatri 26 October, 2019

Circular Doubly Linked List

A circular doubly list is a combination of doubly and circular lists; it inherits the properties of…

vinaykhatri
Vinay Khatri 7 September, 2019

Program to Find the Largest & Smallest Element in an Array [C, C++, P…

This tutorial will help you learn to write a program in C, C++, Python, and Java to find the larges…

vinaykhatri
Vinay Khatri 7 September, 2019

Program to Perform the Union of Two Sorted Arrays [C, C++, Python & J…

This tutorial will help you learn to write a program to perform the union of two sorted arrays. We …

vinaykhatri
Vinay Khatri 7 September, 2019

Program to Find the Transpose of a Matrix [C, C++, Python & Java]

Here, in this tutorial, we will write a program in C, C++, Python, and Java to transpose a matrix.&…