LeetCode Solutions/Problems/1037. Valid Boomerang.java
<reponame>DevashishPathrabe/LeetCode<filename>LeetCode Solutions/Problems/1037. Valid Boomerang.javaclass Solution {
    public boolean isBoomerang(int[][] points) {
        return (points[2][1]-points[1][1])*(points[1][0]-points[0][0]) != (points[2][0]-points[1][0])*(points[1][1]-points[0][1]);
    }
}