"A program should be written for the following problem.
values should be entered at run time.
it should be numbers. it should be taken in to an array and breaken in to two sets, so that the sum of
the elements in the two sets are equal. it should display the result, or it should say there are no such
two sets in the given numbers .How can it be done?. Our lecturer asked us not to go till 50 numbers,
because its impossible. we are suppose to draw a graph as ,no of numbers entered at run time ,in the X
axis and the time taken to get the solution in the Y axis. I have no idea, cos im 0 in algorithms."
By the way why do you submit your guestions as Guest ... Dont you have a uoctamil.com login ? if you dont have conatct your batch rep as soon as possible.
- Yogi
Author: Yogendirakumar Posted Date: 25/07/2007
Answer2:
Hi again...
Well to solve your tricky program you should know some statistics....
After capturing all the numbers examine its mean, median, and cumulative medians. After you have some idea about those, you could split the numbers...