Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++ Programs
2.5k+ articles
Competitive Programming
2.3k+ articles
Algorithms
1.9k+ articles
Tree
1.4k+ articles
Linked List
1.1k+ articles
Graph
940+ articles
Data Structures
250+ articles
DSA
>
Data Structures
Data Structures
14.5k+ posts
Popular Articles
Recent Articles
Array Data Structure Guide
Last Updated: 13 April 2025
In this article, we introduce array, implementation in different popular languages, its basic operations and commonly seen problems / interv
...read more
Arrays
DSA
Linked List Data Structure
Last Updated: 04 January 2025
A linked list is a fundamental data structure in computer science. It mainly allows efficient insertion and deletion operations compared to
...read more
Linked List
Data Structures
DSA
Data Structures Tutorial
Last Updated: 12 April 2025
Data structures are the fundamental building blocks of computer programming. They define how data is organized, stored, and manipulated with
...read more
Advanced Data Structure
Data Structures
DSA
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
C++ Programs
2.5k+ articles
Competitive Programming
2.3k+ articles
Algorithms
1.9k+ articles
Tree
1.4k+ articles
Linked List
1.1k+ articles
Graph
940+ articles
Data Structures
250+ articles
Must Do Coding Questions for Companies like Amazon, Microsoft, Adobe, ...
Last Updated: 20 February 2025
The list in this article contains more than 200 questions according to the popularity in interview experiences. Arrays Subarray with given
...read more
Algorithms
interview-preparation
placement preparation
Data Structures
GFG-Update
GFG Sheets
DSA
Top 50 Array Coding Problems for Interviews
Last Updated: 26 March 2025
Array is one of the most widely used data structure and is frequently asked in coding interviews to the problem solving skills. The followin
...read more
Arrays
Algorithms
Data Structures
GFG Sheets
DSA
Heap Sort - Data Structures and Algorithms Tutorials
Last Updated: 02 January 2025
Heap sort is a comparison-based sorting technique based on Binary Heap Data Structure. It can be seen as an optimization over selection so
...read more
Amazon
Oracle
Samsung
Belzabar
Intuit
SAP Labs
Visa
24*7 Innovation Labs
Sorting
Heap
Heap Sort
DSA
Insertion in Linked List
Last Updated: 18 February 2025
Insertion in a linked list involves adding a new node at a specified position in the list. There are several types of insertion based on the
...read more
Linked List
TCS
Wipro
DSA
Basic Terminologies of Linked List
Last Updated: 20 October 2024
Linked List is a linear data structure, in which elements are not stored at a contiguous location, rather they are linked using pointers. Li
...read more
Linked List
Python-DSA
DSA
Dijkstra's Algorithm to find Shortest Paths from a Source to all
Last Updated: 27 April 2025
Given a weighted undirected graph represented as an edge list and a source vertex src, find the shortest path distances from the source vert
...read more
Amazon
Adobe
Morgan Stanley
Dijkstra
Samsung
Cisco
Graph
Accolite
Vizury Interactive Solutions
Greedy
Shortest Path
DSA
Breadth First Search or BFS for a Graph
Last Updated: 21 April 2025
Given aundirected graphrepresented by an adjacency listadj, where eachadj[i]represents the list of vertices connected to vertexi. Perform aB
...read more
Graph
Queue
BFS
Data Structures
graph-basics
DSA
Depth First Search or DFS for a Graph
Last Updated: 29 March 2025
In Depth First Search (or DFS) for a graph, we traverse all adjacent vertices one by one. When we traverse an adjacent vertex, we completely
...read more
Graph
Algorithms
DFS
graph-basics
DSA
Array Reverse - Complete Tutorial
Last Updated: 25 September 2024
Given an array arr[], the task is to reverse the array. Reversing an array means rearranging the elements such that the first element become
...read more
Arrays
Strings
Amazon
VMWare
MAQ Software
Moonfrog Labs
Infosys
Reverse
school-programming
CBSE - Class 11
DSA
Reverse a Linked List
Last Updated: 18 February 2025
Given a linked list, the task is to reverse the linked list by changing the links between nodes.Examples:Input: head: 1 - 2 - 3 - 4 - NULLOu
...read more
Linked List
Microsoft
Amazon
Adobe
Qualcomm
Samsung
Snapdeal
Accolite
Zoho
SAP Labs
MakeMyTrip
Reverse
DSA
Tree Traversal Techniques
Last Updated: 11 March 2025
Tree Traversal techniques include various ways to visit all the nodes of the tree. Unlike linear data structures (Array, Linked List, Queues
...read more
Tree
Trees
Inorder Traversal
Preorder Traversal
PostOrder Traversal
Snapdeal
tree-traversal
DSA
Tutorials
Maximum Subarray Sum - Kadane's Algorithm
Last Updated: 28 February 2025
Given an array arr[], the task is to find the subarray that has the maximum sum and return its sum.Examples:Input: arr[] = {2, 3, -8, 7, -1,
...read more
Arrays
Microsoft
Amazon
Morgan Stanley
Oracle
Flipkart
Samsung
D-E-Shaw
Walmart
VMWare
Snapdeal
Accolite
Payu
Zoho
Hike
MakeMyTrip
Visa
Housing.com
Ola Cabs
24*7 Innovation Labs
MetLife
FactSet
Teradata
Dynamic Programming
OYO
Amazon-Question
Visa-Question
subarray
subarray-sum
DSA
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !