A numeric array of length N is give. You are required to design a function that finds all positive numbers in the array that h | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

A numeric array of length N is give. You are required to design a function that finds all positive numbers in the array that h

A numeric array of length N is give. You are required to design a function that finds all positive numbers in the array that have their opposites in it as well i. Design an algorithm approach to implement an optimal worst case [15 marks] ii. Design an algorithm approach to implement an average case scenario [15 marks]

30th Jun 2018, 6:55 AM
kim qim
kim qim - avatar
3 Answers
0
not really
30th Jun 2018, 2:59 PM
kim qim
kim qim - avatar
0
try it out
30th Jun 2018, 2:59 PM
kim qim
kim qim - avatar
- 1
this looks like homework
30th Jun 2018, 2:05 PM
hinanawi
hinanawi - avatar