@@ -0,0 +1,512 @@
+package LeetCode.Java;%0A%0A/**%0A * Created by Vonzpf on 17/4/21.%0A */%0A/**-------------------------Title---------------------------------%0A Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.%0A%0A Example:%0A Given a = 1 and b = 2, return 3.%0A */%0Apublic class SumofTwoIntegers %7B%0A    public int getSum(int a, int b) %7B%0A        if(b == 0)%0A            return a;%0A        int sum;%0A        int carry;%0A        sum = a%5Eb;%0A        carry = (a&b)%3C%3C1;%0A        return getSum(sum,carry);%0A    %7D%0A%7D%0A

371. Sum of Two Integers