Data Structures Programs in C, C++, Java and Python | Data Structures questions and solutions

Data Structures and Algorithms consists of some of the most important topics asked by Product companies (Microsoft, Amazon, D.E Shaw, Directi, Intel, Nutanix, KPIT, etc) for placement tests. A list of programs based on these topics, ranging from easy to advanced difficulty level is given below with solutions. 

Data structures and Algorithms topics covered:

  1. Programs on arrays 
  2. Programs on stacks, queues and linked list 
  3. Problems on trees and graphs
  4. Dynamic programming problems



1-D Arrays

2-D Arrays