Skip to content

Commit c6000a9

Browse files
refactor 1344
1 parent 71fcee8 commit c6000a9

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

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

-30
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 1344. Angle Between Hands of a Clock
5-
*
6-
* Given two numbers, hour and minutes. Return the smaller angle (in sexagesimal units) formed between the hour and the minute hand.
7-
*
8-
* Example 1:
9-
* Input: hour = 12, minutes = 30
10-
* Output: 165
11-
*
12-
* Example 2:
13-
* Input: hour = 3, minutes = 30
14-
* Output: 75
15-
*
16-
* Example 3:
17-
* Input: hour = 3, minutes = 15
18-
* Output: 7.5
19-
*
20-
* Example 4:
21-
* Input: hour = 4, minutes = 50
22-
* Output: 155
23-
*
24-
* Example 5:
25-
* Input: hour = 12, minutes = 0
26-
* Output: 0
27-
*
28-
* Constraints:
29-
* 1 <= hour <= 12
30-
* 0 <= minutes <= 59
31-
* Answers within 10^-5 of the actual value will be accepted as correct.
32-
* */
333
public class _1344 {
344
public static class Solution1 {
355
public double angleClock(int hour, int minutes) {

0 commit comments

Comments
 (0)