GoConqr has a new look! Let us know what you think.

Flashcards

Bit wise operations

Suhas S English 1 card

Cards in this deck (1)

  1. 1https://www.geeksforgeeks.org/bitwise-hacks-for-competitive-programming/Set bit
    num |= (1 << pos);
    Unset bit
    num &= (~(1 << pos));
    Toggle bit
    num ^= (1 << pos);
    Check if bit is set
    bool bit = num & (1<

Information

Description
Flashcards on Bit wise operations, created by Suhas S on 22/05/2018.
Created by
Suhas S
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?