摘要:
Question:Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".Analysis:思路一:首先将二进制字符串转化成十进制,然后十进制相加,最... 阅读全文
摘要:
Question:Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant di... 阅读全文
摘要:
Question:Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It do... 阅读全文