{"push_id":2199862162,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"22ce5278027a2250fd9d7f9f76d8cf71a029168b","before":"5a0781c4dab749cc23ce7932a8a5e9875dc91571","commits":[{"sha":"22ce5278027a2250fd9d7f9f76d8cf71a029168b","author":{"name":"Ramsha Hasan","email":"101e74c44e5a1de6eb1e030b0d30a1e4918f8f8d@gmail.com"},"message":"To get the absolute difference of max and min array elements\n\nTo get the absolute difference of max and min array elements\r\n\r\nThe absolute difference between two integers,a and b, is written as |a-b| . The maximum absolute difference between two integers in a set of positive integers, elements, is the largest absolute difference between any two integers in elements.\r\n\r\nThe Difference class is started for you in the editor. It has a private integer array (elements) for storing N non-negative integers, and a public integer (maximumDifference) for storing the maximum absolute difference.\r\n\r\nTask: Complete the Difference class by writing the following:\r\n\r\nA class constructor that takes an array of integers as a parameter and saves it to the elements instance variable. A computeDifference method that finds the maximum absolute difference between any 2 numbers in N and stores it in the maximumDifference instance variable","distinct":true,"url":"https://api.github.com/repos/Ramsha-Hasan/HackerRankChallenges/commits/22ce5278027a2250fd9d7f9f76d8cf71a029168b"}]}
{"actor":{"display_login":"Ramsha-Hasan"}}