Rating changes for the last round are temporarily rolled back. They will be returned soon. ×

Please help in this interview problem

Revision en1, by saint_coder, 2019-06-19 09:31:10

I thought of a solution but I have a doubt if my solution will work.

Please tell your solution of solving it.

Here is the problem: Click Me

Tags #interview, #problem, #geometry

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English saint_coder 2019-06-19 11:27:07 2 Tiny change: 'straints\n1<=N<=20' -> 'straints\n\n1<=N<=20'
en3 English saint_coder 2019-06-19 11:22:41 770 Tiny change: '=N<=2000\n1<=A[i],' -> '=N<=2000\n\n1<=A[i],'
en2 English saint_coder 2019-06-19 09:32:49 66
en1 English saint_coder 2019-06-19 09:31:10 268 Initial revision (published)