Skip to content

Commit ccd5705

Browse files
refactor 374
1 parent 03052fe commit ccd5705

File tree

1 file changed

+0
-15
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-15
lines changed

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

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
package com.fishercoder.solutions;
22

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-
*/
183
public class _374 {
194
public static class Solution1 {
205
/**

0 commit comments

Comments
 (0)