Least Square Method Geeksforgeeks