quick-references
Tree vs Graph
A tree is a non-linear data structure that represents the hierarchy. A tree is a collection of nodes that are linked together to form a hierarchy. A graph is like a tree data structure is a collection of objects or entities known as nodes that are connected to each other through a set of edges. A tree follows some rule that determines the relationship between the nodes, whereas graph does not follow any rule that defines the relationship among the nodes. A graph contains a set of edges and nodes, and edges can connect the nodes in any possible way.
Posted September 10, 2022 by Rohith and Anusha ‐ 2 min read
Stack vs Array
Stack is a linear data structure that appears like a list. A stack appears like a sequential collection of constituting elements. Array is also a linear data structure that consists of a collection of various elements that have the same data type. An array’s size is pre-decided. It stores all the values at a location known as the index of values.
Posted September 10, 2022 by Rohith and Anusha ‐ 2 min read
Source Code vs Object Code
ource Code is an assembly code or a high-level code- that a programmer generates (human-generated code). These types are comparatively very easy to read as well as modify. Object Code is a machine-understandable one. An object code comprises various low-level codes- that a translator or compiler generates from the source code.
Posted September 10, 2022 by Rohith ‐ 2 min read
Encoder vs Decoder
An encoder is a mechanism that can transform the data signal into a message that can be read by some type of control device. The combinational circuits that convert the binary data into 2N output lines are called Decoders.
Posted September 10, 2022 by Rohith and Anusha ‐ 1 min read
Stack vs Queue
The primary difference between Stack and Queue Data Structures is that Stack follows LIFO while Queue follows FIFO data structure type. LIFO refers to Last In First Out. It means that when we put data in a Stack, it processes the last entry first. Conversely, FIFO refers to First In First Out. I
Posted September 10, 2022 by Rohith and Anusha ‐ 2 min read