1. 程式人生 > >【LeetCode】位運算 bit manipulation(共32題)

【LeetCode】位運算 bit manipulation(共32題)

【78】Subsets 

【136】Single Number 

【137】Single Number II 

【169】Majority Element 

【187】Repeated DNA Sequences 

【190】Reverse Bits 

【191】Number of 1 Bits 

【201】Bitwise AND of Numbers Range 

【231】Power of Two 

【260】Single Number III 

【268】Missing Number 

【318】Maximum Product of Word Lengths 

【320】Generalized Abbreviation 

【338】Counting Bits 

【342】Power of Four 

【371】Sum of Two Integers 

【389】Find the Difference 

【393】UTF-8 Validation 

【397】Integer Replacement 

【401】Binary Watch 

【405】Convert a Number to Hexadecimal 

【411】Minimum Unique Word Abbreviation 

【421】Maximum XOR of Two Numbers in an Array 

【461】Hamming Distance 

【476】Number Complement 

【477】Total Hamming Distance 

【693】Binary Number with Alternating Bits 

【751】IP to CIDR 

【756】Pyramid Transition Matrix 

【762】Prime Number of Set Bits in Binary Representation 

【784】Letter Case Permutation 

【898】Bitwise ORs of Subarrays