An array is a collection of items
stored at contiguous memory locations. The idea
is to store multiple items of the same type
together.
String
Strings are defined as an array of
characters. The difference between a character
array and a string is the string is terminated
with a special character '\0'.
Linked List
A linked list is a linear data
structure, in which the elements are not stored
at contiguous memory locations. The elements in
a linked list are linked.
Stack & Queues
Stack is a linear data structure
that follows a particular order in which the
operations are performed.
A Queue is defined as a linear data structure
that is open at both ends and the operations are
performed in First In First Out (FIFO) order.
Trees
A tree data structure is a
hierarchical structure that is used to represent
and organize data in a way that is easy to
navigate and search. It is a collection of nodes
that are connected by edges and has a
hierarchical relationship between the nodes.
Graphs
A Graph is a non-linear data
structure consisting of vertices and edges. The
vertices are sometimes also referred to as nodes
and the edges are lines or arcs that connect any
two nodes in the graph. More formally a Graph is
composed of a set of vertices( V ) and a set of
edges( E ).
MUST DO PROBLEMS
SDE Sheets-1
Get the books including the
text-books and references(Quantums)!!
SDE Sheets-2
Learn the Programming Languages like
C/C++ Java Python etc!!
CSES Problem Set
Practice the selected coding and
interview asked questions!!