Skip to content

Commit 6c07057

Browse files
refactor 201
1 parent 40b7345 commit 6c07057

File tree

1 file changed

+8
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+8
-1
lines changed

src/main/java/com/fishercoder/solutions/_201.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@
55
*
66
* Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive.
77
*
8-
* For example, given the range [5, 7], you should return 4.
8+
* Example 1:
9+
* Input: [5,7]
10+
* Output: 4
11+
*
12+
* Example 2:
13+
* Input: [0,1]
14+
* Output: 0
15+
*
916
*/
1017
public class _201 {
1118

0 commit comments

Comments
 (0)