Data Structures and Algorithms
Binary Number System and Its Representation
In mathematics and digital electronics, a binary number is expressed in the base-2 number system, using only two symbols: "0" and "1". Another number system that became famous after the decimal is the binary number system, which has only two digits, 0 and 1.
What is Decimal Number System?
Long ago, humans created a number system that has precisely ten digits. This number system is called the Decimal Number System, and the digits in this number system are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
Introduction to Number Systems
A number system is a writing system where digits and symbols are used in a consistent manner to represent values. The exact sequence of symbols may represent different numbers in different number systems.
What is Bit Manipulation?
Bit manipulation is algorithmically manipulating bits or other pieces of data shorter than a word. Bit manipulation is something that has constant time complexity.
Array Insertions And Shifting Algorithm
In this lesson, you will learn about an array of insertion and shifting algorithms with illustrations and code examples.
Leetcode 896: Monotonic Array
An array is called monotonic if the index of each element increases from the first to the last or decreases from the first to the last.
Find The Missing Number From The Array
In this article, we'll learn various ways to find the missing number in an array. We use a memoization approach, a mathematical approach, and the most optimized way using the XOR operator.