Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coddy

Bit Manipulation

via Coddy

Overview

In this course we will learn about bit manipulation with some exciting challenges to boost up problem solving!

Prerequisites:

  • Good knowledge in C++

Syllabus

Introduction and basics

  • What is bit manipulation?
  • Why we need bit manipulation?
  • Binary and decimal numbers
  • NOT & OR operators
  • AND operator
  • XOR operator
  • Right and left shift operators
  • Bitwise Operators Summary

Bit Algorithms

  • Power of 2
  • Number occurring odd times
  • Number of set-bits
  • Rotate bits of a number I
  • Rotate bits of a number II

Practice challenges

  • Tina and her bits assignment
  • XORty
  • Find K
  • Find Minimum Sum

Reviews

Start your review of Bit Manipulation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.