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

ABC C++ Code Interview Questions
Questions Answers Views Company eMail

Min-Max Write an algorithm that finds both the smallest and largest numbers in a list of n numbers and with complexity T(n) is at most about (1.5)n comparisons.

10 37843

Algorithm in O(2n) Presently we can solve in our hypothetical machine problem instances of size 100 in 1 minute using algorithm A, which is a O(2n). We would like to solve instances of size 200 in 1 minute using algorithm A on a new machine. What is the speed of the new machine should be?

2 4738

Where now stands that small knot of villages known as the Endians, a mighty forest once stood. Indeed, legand has it that you could have stoodon the edge of the wood and seen it stretch out for miles, were it not for the trees getting in the way. In one section of the forest, the trees stood in a row and were of hight from 1 to n, each hight occurring once and once only. A tree was only visible if there were no higher trees before it in the row. For example, if the heights were 324165, the only visible trees would have been those of height 3,4 & 6. Write a Program that takes an array of integers representing the heights of the trees in the row as input and prints the list of the visible trees.

2 6903

how to find out the maximum number out of the three inputs.

6 19195

Implement a command console for changing settings on a particular object. The command console should allow you to enter a string and will return the response (very similar to a terminal session). The commands are as follows: SET propertyname=newvalue will change the target object’s member named “propertyname” to have a value equal to “newvalue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message. GET propertyname will print out the current value of the target object’s member named “propertyname”. GET * will print out a list of all target object members and their current values. The system should be extensible for future commands and should accept an arbitrary object, such that another developer could insert another object into the system and rely on the command console to get and set the properties correctly.


Post New ABC C++ Code Interview Questions

ABC C++ Code Interview Questions

Un-Answered Questions

a sewer which receives the discharge of no. of house sewer is called house sewer lateral sewer intrcepting sewer sub-main sewer


What is the difference between enterprise value and equity value?


Describe the principal constituents of earth?


hi iam having b tech aggregate of 60%and 15 back locks cleared in course time and gre score of 1000 can i get visa


You want to use web application server with peopletools 8.1x and peopletools 8.4. How would you do that?


What is Parser Bug?


What are the advantages of manual database?


What is Cycle Stealing in OS?


How can we configure Input Tax in SD?


What is the use of GMV in turbine?


How connect plc and pc through software


What is compilation in angular? What types of compilations are used in angular?


How do you implement session management in SQL Server mode?


How do you decide which integer type to use?


If DEBT/EQUITY ratio 2:1, is to good or bad for a company? how...??? can u explain it...???