Data Structure and Algorithms Articles

Page 4 of 4

Difference Between Tree and Graph

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 21-Dec-2022 18K+ Views

Both Trees and Graphs are types of non−linear data structures. They are different from each other in the context of their types of connections and loop formation. That means, a tree structure is connected such that it can never have loops, whereas a graph structure follows a network model and may have loops. Read this article to find out more about Tress and Graphs and how they are different from each other. What is Tree? A Tree is a non−linear data structure that is used to represent hierarchy. It is a set of nodes that are joined together to ...

Read More

Difference Between Huffman Coding and Shannon Fano Coding

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 21-Dec-2022 13K+ Views

The primary function of a communication system is to transfer a message signal from a sender to the receiver. In the process of data transfer, the signal used to transfer the data should have the necessary properties required for the transmission as per the transmission channel. Hence, there are some information coding techniques used to transform the message signal into a transferrable signal through the transmission channel. Two of such information coding schemes are Huffman Coding and Shannon Fano Coding. The most basic difference between Huffman Coding and Shannon Fano Coding is that the Huffman coding provides a variable ...

Read More

Difference between YOLO and SSD

AmitDiwan
AmitDiwan
Updated on 14-Oct-2022 651 Views

YOLO and SSD are real-time object detection systems that possess significant differences, that have been listed below − YOLO (You Only Look Once) YOLO uses a neural network to help with real-time object detection. It became popular due to its speed and accuracy. It is considered a regression problem, where the algorithm looks at the object/s only once. There are algorithms associated with YOLO that achieve 155 FPS (frames per second). Image is divided into a grid, and every grid calculates class probabilities and bounding box parameters to determine the object in its entirety. It is an open-source detection ...

Read More

1's Complement vs 2's Complement

Ankith Reddy
Ankith Reddy
Updated on 30-Jun-2020 36K+ Views

Complements are used in digital computers in order to simply the subtraction operation and for the logical manipulations. For the Binary number (base-2) system, there are two types of complements: 1’s complement and 2’s complement.1’s Complement of a Binary NumberThere is a simple algorithm to convert a binary number into 1’s complement. To get 1’s complement of a binary number, simply invert the given number.2’s Complement of a Binary NumberThere is a simple algorithm to convert a binary number into 2’s complement. To get 2’s complement of a binary number, simply invert the given number and add 1 to the ...

Read More

Arithmetic of Number Systems

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 9K+ Views

A number system is a set of symbols used to represent values derived from a common base or radix. In a number, the value of each digit can be determined using digit, position of the digit in the number, and the base of the number system. The base is defined as the total number of digits are available in the number system. This is known as positional number system.Number SystemBaseDigit UsedBinary20, 1Octal80, 1, 2, 3, 4, 5, 6, 7Decimal100, 1, 2, 3, 4, 5, 6, 7, 8, 9Hexadecimal160, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, ...

Read More

Negative Binary Numbers

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 18K+ Views

Negative numbers can be distinguishable with the help of extra bit or flag called sign bit or sign flag in Binary number representation system for signed numbers. It is not possible to add minus or plus symbol in front of a binary number because a binary number can have only two symbol either 0 or 1 for each position or bit. That’s why we use this extra bit called sign bit or sign flag. The value of sign bit is 1 for negative binary numbers and 0 for positive numbers.When an integer binary number is positive, the sign is represented ...

Read More
Showing 31–36 of 36 articles
« Prev 1 2 3 4 Next »
Advertisements