摘要:
题目 Reverse bits of a given 32 bits unsigned integer. Note: Note that in some languages, such as Java, there is no unsigned integer type. In this case, 阅读全文
摘要:
题目 Write a function that takes an unsigned integer and returns the number of '1' bits it has (also known as the Hamming weight). Note: Note that in so 阅读全文
摘要:
题目 Given an integer n, return true if it is a power of two. Otherwise, return false. An integer n is a power of two, if there exists an integer x such 阅读全文
摘要:
题目 Given a triangle array, return the minimum path sum from top to bottom. For each step, you may move to an adjacent number of the row below. More fo 阅读全文