Programming Languages AllOther Interview Questions
Questions Answers Views Company eMail

what are the activities you enjoy most and How do you see these Developing in the Future with Reference to in your work life and in your personal life

1145

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

Amazon,

764

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.

Amazon,

786

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?

Amazon,

730

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

Amazon,

834

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)

Amazon,

862

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.

Amazon,

710

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.

Amazon,

683

Explain polymorphism. Provide an example.

Amazon,

720

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

Amazon,

716

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

Amazon,

751

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.

Amazon,

911

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?

Amazon,

721

Explain what is OOPS and its concepts?

BirlaSoft,

683

Where do we need Operator overloading?

BirlaSoft,

766


Post New Programming Languages AllOther Questions

Un-Answered Questions { Programming Languages AllOther }

I m new to the dbms. Recently i came across words clustered indexes & nonclustered indexes but i dont know what is this all about & whats the difference between them.. So please help me!!!!!!!!

1637


what is the BAM? where we can use it in BizTalk server?

1452


I want Ada programming language books. Could anyone post me any link for that?

3048


What do you understand by modular programming?

762


write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?

2310






define profiler???

1729


Hi all... I had completed MSC(Computer) and had join the construction company based on sap.they want me to work on abap.but software company is totally different from construction company and they want me 2 grasp it as fast i can.i am finding it difficult.what should i do??????

1503


how to add a new table with variables and thier values into a imported file uisng proc import?

1563


V2 SOLUTIONS APTI paper is very easy there are 3 sections 1'st is quant problem on age train traveling speed is given length of train is given we have to find out length of bridge then prob on calender one date is given on Friday hv to find out day of othe date ans is Friday then there was 1 prob on percentage which was very easy ans was 21340 then 2’nd section was english grammer had has been being like that hv to fill in the blanks was very wasy then last section was find relative words there was five Q 1 pant ANS:-breath 2inquire ans :- ask And 3 more out of that 1 ‘s ans was:- body 4 And others ans was :-through THEN THEY HAVE GD There was three topics 1 should we allow india’s talent to go to abrod 2 protest against seperate state is justify 3 inturuption of politics in cricket Thats all guys i cleared both the rounds now preparing 4 interview best of luck

1896


When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.

1529


through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?

2201


how do find the user exit for selected feild whatis the process and can u plz explain it

1829


can any one suggestion me present which course(except java,.net) has huge demand in the market?

1725


what are the missinschema properties and should we pass primary key in select command

1536


Find out the list of roles which gives access to GUI activities? thanks in advance

1848