How to reverse a string using a recursive function, without swapping or using an extra memory?
31 103220Coin 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 15744If 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 11261Post New Motorola Interview Questions
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
What is your Job Profile in IT feild.
Explain the Inportance of pa30? : abap hr
How fast can a shadow move ? If a moth fly's in front of a very bright room temperature light powerful enough to light up Saturn like the sun could it's shadow move faster then light if there was no light diffusion.
How to know vacuum in vacuum cylinder of breaker in working condition
What is mean by spike arrester(Voltage Operated)
What are the drawbacks of using asynchronous communication?
Two children have a neurological disorder. When cells from the two patients were fused to form heterokaryons containing nuclei from both patients and cultured, the cells displayed normal metabolism. Cells from either patient exhibited abnormal metabolism when cultured separately.what does these results indicate?
What method do you use to explicitly kill a users session? How?
Is there a module to implement sql in spark?
what is Cassandra- CQL collections?
Why sorting is used?
Do you know what are the ways in which actionscript's code can be protected?
Give the importance of implementing a fault tolerance system? Are there limitations?
Which animal faints when frightened by the enemy?