Home
Freshers / Interviews
Mind-maps
Games
Sign in
Disclaimer
Data Structures
and Algorithms
Arrays
Binary Trees
Linked Lists
Algorithms
Programming Puzzles
Bitwise Operators
Brain Teasers
2D and 3D Puzzles
Good Old
Java
Java
Super Java
Java Design Patterns
Multithreading in Java
Logging Frameworks
Advanced
Interview Topics
Dynamic Programming
Suffix Trees
Artificial Intelligence
Pattern Matching
Cloud and
Databases
Oracle SQL
JDBC
Hibernate
Solr
Caching Strategies
System Design and Big Data
Cassandra
Web Design
and Development
HTML
CSS
Javascript
SOAP vs REST
JSP
Three.JS
AngularJS
Must-know
Tools
Maven
Git
Tips and tricks
Good To
Know
Ruby by example
Python
Digital Security
Computer Networks
Erlang
Make delicious recipes!
Table of Contents
Matrix inverse using linear algebra
Move bishop on chess board
Intersection of Lines
Point inside shape
Distance between points
Distance between points - Manhattan and Euclidean
Manhattan Distance
is defined as Math.abs(x2-x1) + Math.abs(y2-y1).
Euclidean Distance
is defined as sqrt ((x2-x1)
2
+ (y2-y1)
2
).
Like us on Facebook to remain in touch
with the latest in technology and tutorials!
Got a thought to share or found a
bug in the code?
We'd love to hear from you:
Name:
Email:
(Your email is not shared with anybody)
Comment:
Facebook comments:
Site Owner: Sachin Goyal