Skip to content

Real-world applications of bitwise operators and related resources

Notifications You must be signed in to change notification settings

shaneberg/bitwise-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitwise Examples

Overview

This document is an general overview of bitwise operators and how they are used in professional software development.

Repository

This repository (bitwise-operators) contains documention, working code samples, and interview questions.

Contributing

Feel free to open an issue or pull request against me/this repro with requests for corrections, elaboration, or more examples.

Repository Contents

Bitwise Operators Overview

Existing documents give an in-depth overview of bitwise operations:

Here's an overview I put together:

Authentic uses of bitwise operators

Bitwise operators allow developers to evaluate and change the individual bits that make up primitive data types, usually some kind of int.

There are a few reasons developers might need to use bitwise operators. Consequently, you should expect that they will show up from time to time in coding interviews, especially when a position requires working in low-level platform code.

For a list of real-world uses of bitwise operators, read Real World uses of bitwise operators

Bitwise Operators and Interview Questions

Comfort with bitwise operators benefit entry-level software developer interview candidates. Interviewers may pose bitwise operator questions in particular so that candidates can demonstrate:

  • their comfort level working with counting in non-base-10 representations.

  • their comfort level solving problems by directly manipulating the binary representation of integers.

See the Interviews page for more information.

Code Examples

Examples

Resources

Here's a list of external sites and literature on this topic.

Resources

About

Real-world applications of bitwise operators and related resources

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages