How to reverse a string using a recursive function, without swapping or using an extra memory?
31 103403Coin 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 15760If 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 11287Post New Motorola Interview Questions
tell us something about nabard and its functions.
What is not correct about controller in sencha touch?
What do you understand by the gdp of the country?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
how do u estimate the depth of the session scheduling queue? Where do u set the number of maximum concurrent sessions that Informatica can run at a given time?
What is the max no of match code id’s that can be defined for one match code object?
please give me some tips for the placement in the TCS.
What is loop in python?
What LINQ providers are supported by LINQPad?
What is var keyword ?
How do I uninstall remnants of uninstalled programs?
How do you overlay in powerpoint?
Does java support multiple inheritance? if not, what is the solution?
Is microservice stateless?
What is an indexing technique?