1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-19 03:56:46 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 12:43:11 +08:00
parent 58bbdfd57c
commit 2b0511d272
10721 changed files with 8123 additions and 8119 deletions

View File

@@ -0,0 +1,16 @@
<p>Write a function that adds two numbers. You should not use + or any arithmetic operators.</p>
<p><strong>Example:</strong></p>
<pre>
<strong>Input:</strong> a = 1, b = 1
<strong>Output:</strong> 2</pre>
<p>&nbsp;</p>
<p><strong>Note: </strong></p>
<ul>
<li><code>a</code>&nbsp;and&nbsp;<code>b</code>&nbsp;may be 0 or negative.</li>
<li>The result fits in 32-bit integer.</li>
</ul>