User talk:CalmoSoft: Difference between revisions

m
m (→‎Can I add the next task to Rosetta Code?: added some "stress tests" and implied task requirements.)
Line 268:
--[[User:CalmoSoft|CalmoSoft]] ([[User talk:CalmoSoft|talk]]) 17:00, 17 July 2021 (UTC)
 
: I would add another set of elements that had the same (max) difference, and have the program select the first maximum difference that it finds.   Also, specify that the two elements (which have the maximum difference) be identified   (as you have above, but with more verbiage).   And have at least one of the elements have a negative value,   and also an element that has a zero value.   You didn't mention it,   but are you going to restrict the numbers to integers or any real number?   An example that would "stress test" these requirements could be an element list ofsuch as:     '''2, 0, 1, 1, -2, 0, 5, 8, 6, 2, 9, 11, 8, 1'''     I am not sure that all lists   (for different computer programming languages)   prohibit the use of duplicates,   but for this task,   allow duplicate numbers.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:56, 18 July 2021 (UTC)