随笔分类 - Cracking the Coding Interview
摘要:Determine the number of bits required to flip if you want to convert integer n to integer m. Both n and m are 32-bit integers. Determine the number of
阅读全文
摘要:Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Given a m x n matrix, if an element is 0, set its entire
阅读全文
摘要:Write a function that add two numbers A and B. You should not use + or any arithmetic operators. There is no need to read data from standard input str
阅读全文