Tag

Bit Manipulation

0 views collected around this technical thread.

Architect's Guide
Architect's Guide
Sep 9, 2022 · Fundamentals

A Comprehensive Overview of Java Bitwise Operators

This article provides a detailed introduction to Java's seven bitwise operators, explains their binary logic, demonstrates shift operations, and showcases common practical uses such as power-of-two multiplication and parity checks with clear code examples and visual illustrations.

Bit ManipulationJavaJava Basics
0 likes · 9 min read
A Comprehensive Overview of Java Bitwise Operators
Sohu Tech Products
Sohu Tech Products
Apr 1, 2020 · Fundamentals

Bitwise Operations: Techniques and Applications in Algorithmic Problems

This article introduces the basics of bitwise operations, common operators, practical tricks such as checking parity, setting or clearing bits, and demonstrates their use in solving classic algorithmic challenges like the poison bottle puzzle, power‑of‑two detection, counting set bits, and the 8‑Queens problem.

AlgorithmBit Manipulationbitwise
0 likes · 17 min read
Bitwise Operations: Techniques and Applications in Algorithmic Problems
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 11, 2019 · Fundamentals

Common Algorithm Tricks: Bit Manipulation, Two‑Pointer Techniques, and XOR Applications

This article reviews several practical algorithm tricks—including using n&(n‑1) to clear the lowest set bit, counting bits, converting numbers, applying double‑pointer methods to linked lists and sorted arrays, and leveraging XOR properties—to simplify typical interview coding problems.

AlgorithmBit ManipulationInterview
0 likes · 9 min read
Common Algorithm Tricks: Bit Manipulation, Two‑Pointer Techniques, and XOR Applications