Saturday, September 3, 2016

Interview experience at Amazon

Round 1

1. Given an array tell the minimum range to sort such that complete array is sorted


Round 2:

1. Given an array like following
    a1a2a3a4 .... anb1b2b3b4b5b6.... bn

Ouput
  a1b1a2b2a3b3... anbn


3. Given a an array of form like
 89 88 12 32 98 97

tell the largest   number which can be formed from it
That is output would be 989789883212

However, this question wasn't explicitly/directly like to this. The question was given following array
4 5 6 9 8 7
convert it to
9 8 7 6 5 4



Round 3:

1. Design a token management system