How to reverse a string using a recursive function, without swapping or using an extra memory?
31 104646Coin Problem You are given 9 gold coins that look identical. One is counterfeit and weighs a bit greater than the others, but the difference is very small that only a balance scale can tell it from the real one. You have a balance scale that costs 25 USD per weighing. Give an algorithm that finds the counterfeit coin with as little weighting as possible. Of primary importance is that your algorithm is correct; of secondary importance is that your algorithm truly uses the minimum number of weightings possible. HINT: THE BEST ALGORITHM USES ONLY 2 WEIGHINGS!!!
1 15855If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).
5 11454Post New Motorola Interview Questions
Is linux good for programming?
Which control is an example of an object in vb net?
Tell us something about yourself in one minute?
What are different modes of metastore deployment in Hive?
What are the weights in pounds of liquid gallons?
hi , To viewers and members, this is siva prasad can any one have oracle hrms functional questions & answers pls send to my e.mail siva81g@gmail.com Thanks Siva Prasad
2 v/500amp/hr to 1.80vpc at 20 degree celsious 2v/5ooamp/hr to 1.75 vpc at 77degree farren .this is the capacity of a battery .what is the meaning of this . can i get a detailed explenation
Differentiate 'app id' from 'bundle id'.
very Simple Question i Know But I Cant Do It public int Y { get { return _y; } set { _y = value; } } How Can i Check for Value Y in Accessories Say if Y > 5
What is acsr cable and where we use it?
How to compare two list?
How does distributed database work?
What is the difference between object { } block and companion object { } code block in Kotlin?
What is datatype in mysql?
What is a mixed extent?