---
title: "#bit-manipulation articles | Hashnode"
description: "Explore 60 articles tagged #bit-manipulation on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/bit-manipulation"
---

Tag

# #bit-manipulation

60 posts · 1 followers

[Sagun](https://hashnode.com/@sagun-labs) · [Aug 16](https://hashnode.com/posts/shift-instructions/6a814fee9140cf2e14d276da)

### [Shift Instructions](https://sagunwrites.hashnode.dev/shift-instructions?utm_source=hashnode&utm_medium=feed)

Learn logical, arithmetic, and rotate shift instructions, including bit shifting, sign preservation, multiplication, division, and bit manipulation

7 min read · [sagunwrites.hashnode.dev](https://sagunwrites.hashnode.dev/shift-instructions?utm_source=hashnode&utm_medium=feed)

[Sagun](https://hashnode.com/@sagun-labs) · [Aug 16](https://hashnode.com/posts/logical-instructions/6a814f91a7079ca58100af6c)

### [Logical Instructions](https://sagunwrites.hashnode.dev/logical-instructions?utm_source=hashnode&utm_medium=feed)

Learn AND, OR, NOT, XOR, compare, and test instructions, including truth tables, bit masking, and low-level bit manipulation.

6 min read · [sagunwrites.hashnode.dev](https://sagunwrites.hashnode.dev/logical-instructions?utm_source=hashnode&utm_medium=feed)

[Jeff Tong](https://hashnode.com/@Wind010) · [Jun 5](https://hashnode.com/posts/dog-medication-tracking/6a225f45ac3a65ec10cf8a07)

### [Dog Medication Tracking](https://wind010.hashnode.dev/dog-medication-tracking?utm_source=hashnode&utm_medium=feed)

An unexpected bit manipulation

8 min read · [wind010.hashnode.dev](https://wind010.hashnode.dev/dog-medication-tracking?utm_source=hashnode&utm_medium=feed)

[Kshitij](https://hashnode.com/@itskernelkain) · [Jun 2](https://hashnode.com/posts/inside-xor-beyond-bit-manipulation/6a1e7c2142e1d5f57cb7a5a7)

### [Inside XOR: Beyond Bit Manipulation](https://bitseries.hashnode.dev/inside-xor-beyond-bit-manipulation?utm_source=hashnode&utm_medium=feed)

Understand XOR like never before. Explore XOR theory, hidden properties, binary intuition, bit manipulation tricks.

7 min read · [bitseries.hashnode.dev](https://bitseries.hashnode.dev/inside-xor-beyond-bit-manipulation?utm_source=hashnode&utm_medium=feed)

[Cosmos](https://hashnode.com/@cosmologyisfun) · [Jan 21](https://hashnode.com/posts/cuckoo-filters-vs-bloom-filters-lets-take-it-easy/6970caca925a299d0a857e10)

### [Cuckoo Filters vs. Bloom Filters: Let’s Take it Easy](https://cosmoscribe.hashnode.dev/cuckoo-filters-vs-bloom-filters-lets-take-it-easy?utm_source=hashnode&utm_medium=feed)

Discover the differences between Cuckoo and Bloom filters, their use cases, and how they optimize data storage and retrieval efficiently

9 min read · [cosmoscribe.hashnode.dev](https://cosmoscribe.hashnode.dev/cuckoo-filters-vs-bloom-filters-lets-take-it-easy?utm_source=hashnode&utm_medium=feed)

[Chetan Datta](https://hashnode.com/@chetan77) · [Jan 15](https://hashnode.com/posts/maximum-xor-of-two-numbers-in-an-array/69690349d264bb6cff78f2e0)

### [Maximum XOR of Two Numbers in an Array](https://chetan77.hashnode.dev/maximum-xor-of-two-numbers-in-an-array?utm_source=hashnode&utm_medium=feed)

Problem Given an integer array nums, return the maximum result of nums\[i\] XOR nums\[j\], where 0 <= i <= j < n. (link) Example 1: Input: nums = \[3,10,5,25,2,8\] Output: 28 Explanation: The maximum result is 5 XOR 25 = 28. Example 2: Input: nums = \[14,7...

2 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/maximum-xor-of-two-numbers-in-an-array?utm_source=hashnode&utm_medium=feed)

[Bhavadharani K](https://hashnode.com/@Bhavadharani412) · [Dec 16, 2025](https://hashnode.com/posts/bit-manipulation/6941364c8a0d4c8a2b5fdf15)

### [Bit Manipulation](https://bits101.hashnode.dev/bit-manipulation?utm_source=hashnode&utm_medium=feed)

🧠 Bit Manipulation — The Complete Guide (From Basics to Interviews) Bit manipulation is one of those topics that looks scary, feels tricky, but is actually small, logical, and extremely powerful once the mental model clicks. This article covers ever...

5 min read · [bits101.hashnode.dev](https://bits101.hashnode.dev/bit-manipulation?utm_source=hashnode&utm_medium=feed)

[Anni Huang](https://hashnode.com/@HuangAnni) · [Jul 13, 2025](https://hashnode.com/posts/leetcode-421-maximum-xor-of-two-numbers-in-an-arraymed-java-on/687370905a38ad603443da32)

### [LeetCode 421 Maximum XOR of Two Numbers in an Array(Med, Java, O(n))](https://huanganni.hashnode.dev/leetcode-421-maximum-xor-of-two-numbers-in-an-arraymed-java-on?utm_source=hashnode&utm_medium=feed)

Greedy Bit Construction with XOR Property Verification: Building Maximum XOR One Bit at a Time

5 min read · [huanganni.hashnode.dev](https://huanganni.hashnode.dev/leetcode-421-maximum-xor-of-two-numbers-in-an-arraymed-java-on?utm_source=hashnode&utm_medium=feed)

[Anni Huang](https://hashnode.com/@HuangAnni) · [Jul 11, 2025](https://hashnode.com/posts/leetcode-problem-1356-sort-integers-by-the-number-of-1-bits-easy-java-onlogn/68709e584aa4170ab5e777a3)

### [LeetCode Problem 1356 Sort Integers by The Number of 1 Bits (Easy, Java, O(nlogn))](https://huanganni.hashnode.dev/leetcode-problem-1356-sort-integers-by-the-number-of-1-bits-easy-java-onlogn?utm_source=hashnode&utm_medium=feed)

An example of boxing and unboxing

7 min read · [huanganni.hashnode.dev](https://huanganni.hashnode.dev/leetcode-problem-1356-sort-integers-by-the-number-of-1-bits-easy-java-onlogn?utm_source=hashnode&utm_medium=feed)

[Anni Huang](https://hashnode.com/@HuangAnni) · [Jul 4, 2025](https://hashnode.com/posts/leetcode-daily-challenge-3304-find-the-k-th-character-in-string-game-ieasy/686744632c93042295d5496a)

### [LeetCode Daily Challenge-3304. Find the K-th Character in String Game I(Easy)](https://huanganni.hashnode.dev/leetcode-daily-challenge-3304-find-the-k-th-character-in-string-game-ieasy?utm_source=hashnode&utm_medium=feed)

Binary Tree Structure Meets String Transformation

6 min read · [huanganni.hashnode.dev](https://huanganni.hashnode.dev/leetcode-daily-challenge-3304-find-the-k-th-character-in-string-game-ieasy?utm_source=hashnode&utm_medium=feed)
