Skip to content
  • Courses
  • Resources
  • Blog
  • About
Menu
  • Courses
  • Resources
  • Blog
  • About
STUDENT LOGIN
  • Courses
  • Resources
  • Blog
  • About
  • Student Login
Menu
  • Courses
  • Resources
  • Blog
  • About
  • Student Login

Bit Manipulation

two missing featured

Article

Coding Interview Question: Two Missing Numbers

Coding Interview Question: Given an array containing all the numbers from 1 to n except two, find the two missing numbers. Click for the solution.
Big Integer Mod: Coding Interview Question

Article

Coding Interview Question: Big Int Modulus

Coding Interview Question: Given a list of bytes a, each representing one byte of a larger integer, and an integer b, find a % b. Click for the solution.
Sum: Coding Interview Question

Article

Coding Interview Question: Sum

Coding Interview Question: Given two integers, write a function to sum the numbers without using any arithmetic operators. Click for the solution.
Swap Variables: Coding Interview Question

Article

Coding Interview Question: Swap Variables

Coding Interview Question: Given two integers, write a function that swaps them without using any temporary variables. Click for the solution.
Gray Code: Coding Interview Question

Article

Coding Interview Question: Gray Code

Coding Interview Question: Given two integers, determine whether or not their binary representations differ by a single bit. Click for the solution.
Rotate Bits: Coding Interview Question

Article

Coding Interview Question: Rotate Bits

Coding Interview Question: Given a number, write a function to rotate the bits (ie circular shift). Click for the solution.
Ones in Binary: Coding Interview Question

Article

Coding Interview Question: Number of Ones in a Binary Number

Coding Interview Question: Given an integer, compute the number of ones in the binary representation of the number. Click for the solution.
Envelope Twitter Facebook Linkedin Youtube

© Byte by Byte 2016-2022

Privacy Policy

Terms and Conditions

Earnings Disclaimer

Get fully prepared for your Coding Interview and save 20% with Exponent. Learn More  →

What if coding interviews were easy?

Sounds impossible right? It’s not!

Let me show you the RIGHT way to study for interviews so you can ace your Google Interview without breaking a sweat.

Download my FREE guide to the 50 most common coding interview questions asked at companies like Google, Facebooks, and Amazon.

Download my FREE guide to the 50 most common coding interview questions asked at companies like Google, Facebooks, and Amazon.