Mustapha Oyebamijimusoye.hashnode.devΒ·Jul 14, 2024Unveiling the Binary Secrets: Subtraction at the Bit Level in ComputersComputer is known to perform various tasks which range from simple calculations to complex simulations. It is Imperative to know that these operations are performed at bit level on the computers. Computers represent these numbers based on its archite...21 likesΒ·28 readsComputer Engineering
Jinali Ghogharijinali.hashnode.devΒ·Mar 13, 2024Dart Bitwise & Shift OperatorsDart provides powerful tools for manipulating binary data at the bit level through bitwise and shift operators. Bitwise Operators Operator signOperator Name &AND ^XOR ~Bitwise NOT Shift Operators Operator signOperator NameOperator Desc...Dartshift right
Retrieverretriever.hashnode.devΒ·Aug 20, 2023Arithmetic Right Shift vs Logical Right Shift in Java, Rust, C++, PythonCertainly. Here's the explanation in English: >> and >>> are bitwise shift operators, where >> is an arithmetic right shift, and >>> is a logical right shift. The main distinction between the two lies in how they handle negative numbers. Arithmetic ...46 readsbitwise
ZAID PARKARzaid-dsa.hashnode.devΒ·Jul 24, 2023Day 4: Unveiling Powerful GatesI dived deeper into the fascinating world of bitwise operations, number systems, and more. It was a day of exploration, as I uncovered several powerful gates that enhance data manipulation capabilities. Bitwise AND: Bitwise AND continued to amaze me...DSA
Stefanos Koutsouflakisstefanoskapa.hashnode.devΒ·Jul 6, 2023Boosting Performance: Essential Bit-HacksBitwise manipulation is music to the ears of our processors - a captivating blend of mathematics and boolean logic. Its geometric nature, intriguing patterns, and lightning-fast operations make it an aspect of programming that is entertaining, instru...80 readsC
K Koyalbinarybelle.hashnode.devΒ·May 6, 2023New Pair of Glassesπto look into Bitwise Operators β¨List of Bitwise operators & ( Bitwise AND ) | ( Bitwise OR ) ~ ( Bitwise NOT ) ^ ( Bitwise XOR ) << ( Bitwise Left Shift ) >> ( Bitwise Right Shift ) >>> ( Bitwise unsigned Right shift ) &= ( Bitwise AND Assignement ) |= ( Bitwise OR Assignm...bitwise
Tej Pratap Singhblog.tejpratapsingh.comΒ·May 2, 2023How to use Bitwise while setting propertiesSometimes we are faced with a situation, where a parameter can have multiple values, or even it can have combination of those values. We have a few choices here, either we create multiple fields for each property, which is hard to scale but easier to...Programming Blogs
Atharva legolas12.hashnode.devΒ·Jan 23, 2023Daily Dose of DSA - Day 8class Solution { public: int missingNumber(vector<int> &nums) // { int ans = 0; unordered_map<int, int> m; for (int i = 0; i < nums.size(); i++) m[nums[i]]++; for (int i = 0; i <= nums.size(); i++...DSA
chukwuka chibuezekendrickchukwuka.hashnode.devΒ·Nov 28, 2022Bitwise Operators in C#πΆπIn c#, Bitwise Operators will work on bits, and these are useful to perform bit by bit operations such as And &(Both), or|(Either),Xor^(Exclusive or, different), Not~(Invert). Most importantly, we can perform bit-level operations on Boolean and inte...40 readsbitwise
Hagay Hautscriptable.hashnode.devΒ·Jul 11, 2022Using the XOR Bitwise OperatorBitwise Operators Bitwise operators operate on individual bits in a byte or other binary data. There are six basic bitwise operators: The Exclusive Or In this post, I'll discuss some uses for the Exclusive Or (XOR) operator, represented as ^ in most...65 readsalgorithms