随笔分类 - Number
摘要:roman to integer and integer to roman in c++
阅读全文
摘要:add two numbers without arithmetic
阅读全文
摘要:Find number which appears more than half times of array length.
阅读全文
摘要:Calculate a^n in log(n).
阅读全文
摘要:Continuous cards.
阅读全文
摘要:Print 1 to max number of N bits.
阅读全文
摘要:Ugly numbers.
阅读全文
摘要:Find a number which appears once in an array with all the other numbers appear twice.
阅读全文
摘要:Reorder an array so that odd numbers come before even numbers.
阅读全文
摘要:Find continuous sequences between 1 to N whose sum equals to S.
阅读全文
摘要:Number of 1 between 1 to N.
阅读全文
摘要:Josephus problem.
阅读全文
摘要:Find 2 numbers with given sum in sorted array.
阅读全文
摘要:Another way to calculate sum of 1 to N.
阅读全文

浙公网安备 33010602011771号