Placement Question

Revision en3, by kkdp, 2018-08-30 13:46:12

This question was asked in placement exam of a Company. I was not able to understand this problem.

CLick here to See the question

The first line of input contains N which is number of jugs and next line contains N integers representing number of balls in the jug.

Input:

1

10

Output:

10

Please, someone help me to understand this problem, and if possible suggest a solution as well.

Tags #interview

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English kkdp 2018-08-30 13:46:12 141
en2 English kkdp 2018-08-30 13:32:54 116
en1 English kkdp 2018-08-30 13:30:57 352 Initial revision (published)