Skip to content

Commit d55b388

Browse files
refactor 469
1 parent 1f86c40 commit d55b388

File tree

1 file changed

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

1 file changed

+0
-25
lines changed

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,6 @@
22

33
import java.util.List;
44

5-
/**
6-
* 469. Convex Polygon
7-
*
8-
* Given a list of points that form a polygon when joined sequentially, find if this polygon is convex (Convex polygon definition).
9-
10-
Note:
11-
12-
There are at least 3 and at most 10,000 points.
13-
Coordinates are in the range -10,000 to 10,000.
14-
You may assume the polygon formed by given points is always a simple polygon (Simple polygon definition).
15-
In other words, we ensure that exactly two edges intersect at each vertex, and that edges otherwise don't intersect each other.
16-
17-
Example 1:
18-
19-
[[0,0],[0,1],[1,1],[1,0]]
20-
21-
Answer: True
22-
23-
Example 2:
24-
25-
[[0,0],[0,10],[10,10],[10,0],[5,5]]
26-
27-
Answer: False
28-
29-
*/
305
public class _469 {
316

327
public static class Solution1 {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy