Interview Problem

Revision en1, by 3905, 2016-03-31 18:27:18

You are given N numbers and you have to determine total possible ways to arrange them such that N1N3N5N7....so on.N1,N2 are the numbers of the list.The interviewer didn't specify the constraints and asked instead for best possible solution.How to solve it?

Tags #dp, #interview

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English 3905 2016-03-31 18:28:33 12
en1 English 3905 2016-03-31 18:27:18 285 Initial revision (published)