Max element formed from an array using +, -, *, /.

Revision en2, by ryuga222, 2018-08-16 14:34:02

Given an array of elements. Find the maximum value that can be formed using the operators +, -, * and / used in any order.

There is no link to the problem. I was asked this question in an interview, but didn't find a solution,so thought of posting it.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ryuga222 2018-08-16 14:34:02 136
en1 English ryuga222 2018-08-15 18:08:26 174 Initial revision (published)