🌃
Limited Algorithm
Ctrlk
  • Summary
  • Hash & TreeMap
  • Queue &Stack & PQ
  • Hybrid Data Structure
  • Graph
  • Graph Backtracking and Others
  • Tree
  • Pure Recursion & Backtracking
  • Dynamic Programming
  • Others
    • Bit Operation
      • Bit Basic Operation
      • Question 1 determine wheter a number x is a power of 2
      • Question 2 Determine the number of bits that are different between two integers
      • Question3 What happens if we assign a negative number to an unsigned integer
      • Question4 determine wheter a string contain unique characters
      • Question 5 How to reverse all bits of a number?
      • Question 6 Decimal to Hexadecimal
    • Binary Search Practice
    • Random
    • MonoStack
  • Array& LinkedList & String
  • Adavance Two Pointer
  • Advance Sliding Window
  • Advance Binary Search
  • Advance Young's Matrix
  • Java Knowledge
Powered by GitBook
On this page
  1. Others
  2. Bit Operation

Question 5 How to reverse all bits of a number?

PreviousQuestion4 determine wheter a string contain unique charactersNextQuestion 6 Decimal to Hexadecimal