My programing World
A collection of programs and interview questions
Sunday, June 5, 2016
manhatten distance
(p1,q1) , (p2,q2) = |p1 -q1| + |p2 -q2|
select round(abs(max(lat_n) - min(lat_n)) + abs(max(long_w) - min(long_w)),4) from station;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment