I was interviewed on-campus
at Anna University Chennai for
Test Test Technical Interview
No. of Questions
Question 1) Maximal Contiguous Sum in an array of +ve and ve numbers
write the code !
Question 2) Imagine a Bar Graph ! Fill the Bar Graph with water now ! Find the total area
which is covered with water now !
Question 1)given a Rotated Sorted array find an element in that array( Simple Binary
Question 2)Given a number find the number which is next biggest number which you
can construct with the same digits provided in the number
Say 678 the next number which is greater than 678 but with same digits is 687 ( 8 and 7
Say 52430 , the answer is 53024
1) Why amazon ? 2) Why should i hire You?
3) what do u know about amazon ?
and a Technical question
An N-ary Tree is given in form of an array where the array value =parent of array index and
array value of root node =1
Find the height of the Tree now ?
Read Full post...