notes

Graph in Data Structure

Graph in Data Structure Introduction Graph is a collection of nodes (vertices) and edges. Edge is a pair of vertices, if u and v are two vertices of a Graph, G, and u is adjacent to v…

Read more

Binary Search Tree

Binary Search Tree Tree Tree is a non-linear data structure. Data is stored in nodes of the tree. A node of a tree can have 0, 1, 2 or more children. The first element of the tree is kn…

Read more

Linked List and Types in Java

Linked List in Java A linked list is a linear data structure. Linked List is collection of nodes; nodes are containers having at least two parts: one for storing data and another for stori…

Read more