How to reverse a string using a recursive function, without swapping or using an extra memory?
31 104572Coin 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 15843If 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 11452Post New Motorola Interview Questions
How do you apply specific formatting to the data inside the cells?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
If there is a conflict that arises between your team mates, how would you handle it?
What is a view cursor?
How do I reinstall wordpress?
What is the Process of Reconciliation Between AP to GL
What is identity mapper and chain mapper?
Explain try, raise, and finally?
How does information act in the controlling process?
Explain in brief the directory structure of a web application?
what is the benefit of applying Connect Patches in Magento?
Do you know insurance is a heavily competing industry and it's important to know our competitors. Who are they? : insurance cold calling
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Define its url.
what is the Connected Load (kW) or Contract Demand (kVA)of mahindra nasik plant??