Amazon interview question

Questions asked Written round 1….Convert floating number to String Ex float value 17.53 to string value 17.53 2….N ary searching in a tree 3…Finding the index of rotation in a rotated sorted array .. 1 2 3 4 5 6 is a sorted array and rotated sorted array is 3 4 5 6 1 2 .. Here the index of rotation happens at 5 position … Order of this pgm should be in o(n/2) My first round was testing which u guys won have as u all apply for SDE ..