摘要:
Given two binary strings, return their sum (also a binary string). Example a = 11 b = 1 Return 100 这道题也没太多好说的…… public class Solution { /** * @param a 阅读全文
摘要:
Write a function that add two numbers A and B. You should not use + or any arithmetic operators. Example Given a=1 and b=2 return 3 Note There is no n 阅读全文
摘要:
Remove all elements from a linked list of integers that have value val. Example Given 1->2->3->3->4->5->3, val = 3, you should return the list as1->2- 阅读全文
摘要:
Find the Nth number in Fibonacci sequence. A Fibonacci sequence is defined as follow: The first two numbers are 0 and 1. The i th number is the sum of 阅读全文