bit-manipulation
CommunityMaster bit tricks for fast problem solving.
Software Engineering#competitive programming#bit manipulation#binary operations#count bits#xor tricks#bitmask
Authorpluginagentmarketplace
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Bit-level operations are fundamental in high-performance algorithms and competitive programming. This section explains how bit tricks can optimize counting, masking, and pattern detection to reduce runtime and improve clarity.
Core Features & Use Cases
- Set, clear, toggle, and test bits efficiently.
- Count bits (including Kernighan's method) and reason about powers of two.
- Generate bitmasks and subsets for DP problems, with examples from single-number and Hamming distance tasks.
Quick Start
Provide a number and have the bit-manipulation skill count its set bits using an efficient method.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bit-manipulation Download link: https://github.com/pluginagentmarketplace/custom-plugin-data-structures-algorithms/archive/main.zip#bit-manipulation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.