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

1237

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

Amazon,

852

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,

887

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,

829

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,

923

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,

949

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,

805

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,

786

Explain polymorphism. Provide an example.

Amazon,

784

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,

818

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

Amazon,

845

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,

1014

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,

820

Explain what is OOPS and its concepts?

BirlaSoft,

814

Where do we need Operator overloading?

BirlaSoft,

859


Post New Programming Languages AllOther Questions

Un-Answered Questions { Programming Languages AllOther }

THE CHANNEL IN DATA COMMUNICATION CAN BE?

1765


3 members in a pf.how we read 3 members without using ovrdbf.using rg pgms....

1900


any drawback are there in mantis?

1850


8.In DSP,Define Signal and System?and various type of signals.

1751


what is the difference between uservariables and systemvariables (in Environmental variables)???

2183


Which language they use during interview?

1738


How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?

3979


how do you generate source code for the automatic generation for receipt number

4197


how to check single or double byte in struts

1777


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??????

1599


Can anyone send me NIC question papers alongwith answers on nidhi1485@yahoo.co.in? Urgently needed.. Thanks in advance

2080


how will you code the subfile which is in editing mode (multiple case subfile)?

1817


i want to improve my english vocab for racking campus written exam plz tell me best book for prepration......

1910


can any method return type may be constructor , or that method name allow

1793


hi This is radhika.Can anyone help me to know the question papers of NATIONAL INFORMATICS CENTRE for the post of scientific officer/engineer? if anyone know plz tell me question paper pattern

1770