Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z




Amazon Programming Languages AllOther Interview Questions
Questions Answers Views Company eMail

What is std::auto_ptr?

1 2784

Given: (x-2)(x+3)= 100; solve the equation for x using any programing language.

2 2304

Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

66

Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.

59

You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?

58





Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number

76

Given an array all of whose elements are positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. So 3 2 7 10 should return 13 (sum of 3 and 10) or 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)

81

Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that.

56

Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also.

61

Explain polymorphism. Provide an example.

60

You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)

61

Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.

60

Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.

63

Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?

67

Post New Amazon Programming Languages AllOther Interview Questions




Amazon Programming Languages AllOther Interview Questions





Un-Answered Questions

According to RBI rule how much money can be transferred through online banking at one time...?

1760


i have pcb and i am all set to do biotech so i wanted to know is this a successful option which has its perks??

1196


Describe the process of creation and destruction of a derived class object?

40


Who are ‘Data Scientists’?

3


What are the various types of relationships in database? Define them.

29






Can we use else block with for loop? Answer with one example.

26


What is quaternary ammonium salt give an example?

54


Can we call C# code behind using jQuery?

38


Parts of machine and their discription in details with suitable photo

1036


What is spark repartition?

5


What does update and fixes: r_* files refer?

21


What is session handling in a webfarm, how it can work with its limits?

63


What is the use of data foundation, star join and semantics?

3


What do the we 103 do?

41


What are the customer activities followed for pp module ?

52