To represent hierarchical relationship between element, which data structure is suitable ?
-
ক
Desuetude
-
খ
Priority
-
গ
Tree
-
ঘ
Graph
A Graph consists of a finite set of vertices(or nodes) and a set of Edges which connect a pair of nodes.
In the above Graph, the set of vertices V = {0,1,2,3,4} and the set of edges E = {01, 12, 23, 34, 04, 14, 13}.
Graphs are used to solve many real - life problems such as representing networks.
A tree is a nonlinear hierarchical data structure that consists of nodes connected by edges.
মনে রাখতে হবে Tree এবং Graph এর মধ্যে মূল পার্থক্য হলো Loop. Tree data structure - এ কখনোই Loop তৈরি হবে না বরং এখানে চিত্রানুযায়ী hierarchical relationship বজায় থাকবে।
Related Question
View All-
ক
Object Oriented Programming
-
খ
Open Office Protocol
-
গ
Object Operating Program
-
ঘ
Output Oriented Process
-
ক
Queue
-
খ
Linked List
-
গ
Tree
-
ঘ
Stack
-
ক
চার্লস ব্যাবেজ
-
খ
অ্যাডা লাভলেস
-
গ
স্টিভ জজনিয়াক
-
ঘ
টিমোথি জন বার্নাস লি
-
ক
Memory
-
খ
Programme
-
গ
Chip
-
ঘ
Output device
-
ক
Inheritance
-
খ
Abstraction
-
গ
Polymorphism
-
ঘ
Overloading
-
ক
Pointet, to char
-
খ
Node
-
গ
Pointer to node
-
ঘ
NULL
১ ক্লিকে প্রশ্ন, শীট, সাজেশন ও
অনলাইন পরীক্ষা তৈরির সফটওয়্যার!
শুধু প্রশ্ন সিলেক্ট করুন — প্রশ্নপত্র অটোমেটিক তৈরি!
Related Question
Question Analytics
মোট উত্তরদাতা
জন