SAP Interview Question

finding 2 numbers that give the max when multiplied, from a given array

Interview Answer

Anonymous

Sep 10, 2023

iterating through the array and finding 2 max or 2 min numbers (incase they are both negative)