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 2837

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

2 2343

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

91

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.

80

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?

74





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

97

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)

108

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.

70

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.

81

Explain polymorphism. Provide an example.

80

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.)

81

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

85

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.

85

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?

90

Post New Amazon Programming Languages AllOther Interview Questions




Amazon Programming Languages AllOther Interview Questions





Un-Answered Questions

Where the applications and where

53


What is the metallurgy use? What is the casting and forging?

50


How to insert a caption in word 2013?

19


What is a white noise model and how can you simulate it using r?

3


What is distance from the earth to the moon?

17






What happens if Lattice energy increases?

83


Give some differences between open loop and closed loop?

82


Can a sealed class be used as a base class?

61


how to create “alternate row colour”?

7


Short Answer on _______Appropriation

782


What do you understand by the terms datareader object and dataset object?

59


What is optimistic concurrency control? : Transact sql

57


What is ms word notes?

11


Explain the difference between oltp and olap?

73


Are constructors inherited c#?

19