Placement Question

Revision en1, by kkdp, 2018-08-30 13:30:57

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

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)