Saturday, July 9, 2011
Find the minimum positive sum in an array
You are given an array of integers A and you have to find out the minimum positive sum of array(not necessarily continuous).
PS: I have a solution but not sure it is optimal
PS: I have a solution but not sure it is optimal
Subscribe to:
Post Comments (Atom)
1 comment:
Interesting problem!
Reply DeletePlease post the logic of your solution. If not, post a hint. Thank you!