We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03052fe commit ccd5705Copy full SHA for ccd5705
src/main/java/com/fishercoder/solutions/_374.java
@@ -1,20 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
4
- * 374. Guess Number Higher or Lower
5
- * We are playing the Guess Game. The game is as follows:
6
- * I pick a number from 1 to n. You have to guess which number I picked.
7
- * Every time you guess wrong, I'll tell you whether the number is higher or lower.
8
- * You call a pre-defined API guess(int num) which returns 3 possible results (-1, 1, or 0):
9
-
10
- -1 : My number is lower
11
- 1 : My number is higher
12
- 0 : Congrats! You got it!
13
- Example:
14
- n = 10, I pick 6.
15
- Return 6.
16
17
- */
18
public class _374 {
19
public static class Solution1 {
20
/**
0 commit comments