Skip to content

Latest commit

 

History

History

leetcode-100302-maximum-points-inside-the-square

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

leetcode-100302-maximum-points-inside-the-square

https://leetcode.com/problems/maximum-points-inside-the-square

Type: Classic

Run Code Result

Your input

[[2,2],[-1,-2],[-4,4],[-3,1],[3,-3]]
"abdca"
[[1,1],[-2,-2],[-2,2]]
"abb"
[[1,1],[-1,-1],[2,-2]]
"ccd"

Your stdout

-----
{ '2': [ 'a', 'b' ], '3': [ 'c', 'a' ], '4': [ 'd' ] }
0
2
-----
{ '1': [ 'a' ], '2': [ 'b', 'b' ] }
0
1
-----
{ '1': [ 'c', 'c' ], '2': [ 'd' ] }
0

Your answer

2
1
0