Submitted by: Mohammad Sajid Anwar
You are given an array of integers having four or more elements.
Write a script to find two pairs of numbers from this list (four numbers total) so that the difference between their products is as large as possible.
Submitted by: Mohammad Sajid Anwar
You are given a m x n matrix.
Write a script to find the highest row sum in the given matrix.
Submitted by: Mohammad Sajid Anwar
You are given an array of numbers, @num1.
Write a script to return an array, @num2, where $num2[i] is the count of all numbers less than or equal to $num1[i].
Watford Grammar School for Girls follows the AQA exam board for its A-Level Chemistry course.
Submitted by: Mohammad Sajid Anwar
You are given an array of integers.
Write a script to return true if the given array can be divided into one or more groups: each group must be of the same size as the others, with at least two members, and with all members having the same value.
Submitted by: Mohammad Sajid Anwar
You are given an array of words.
Write a script to return all characters that is in every word in the given array including duplicates.
Submitted by: Mohammad Sajid Anwar
You are given a list integers and pair of indices..
Write a script to return the sum of integers between the given indices (inclusive).
Submitted by: Mohammad Sajid Anwar
You are given a list of co-ordinates.
Write a script to find out if the given points make a straight line.
Submitted by: Mohammad Sajid Anwar
You are given a date in the format YYYY-MM-DD.
Write a script to convert it into binary date.