1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (English)/最大数值(English) [maximum-lcci].html
2022-03-29 12:43:11 +08:00

9 lines
237 B
HTML

<p>Write a method that finds the maximum of two numbers. You should not use if-else or any other comparison operator.</p>
<p><strong>Example: </strong></p>
<pre>
<strong>Input: </strong> a = 1, b = 2
<strong>Output: </strong> 2
</pre>