Right-propagate the rightmost 1-bit, producing all 1's if x = 0 (e.g., 01011000 01011111): — x |= (x - 1)
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university