How to reverse a string using a recursive function, without swapping or using an extra memory?
31 95691Coin 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 14817If 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 9762Post New Motorola Interview Questions
When we use cookie less session? Explain its working?
Explain using webdriver how you can perform double click?
What are the causes of positive and negative propeller slip?
Ihave been working with downloaded data and pasting a years worth at a time into a "template" that I want all the resulting spreadsheets to look like. Each years datahas approximately the same amount of data in it. Seems each spreadsheet is taking more and more space as I work on them? Any ideas what I have done?
How do you create a waterfall chart in excel?
HI CAN ANY ONE HELP ME OUT IN (FICC INTERVIEW QUESTION) FOR COGNIZANT HYDERABAD.
Do you know what is topping?
Is there a switch or case statements in python?if not what is the reason for the same?
i have a scenario where i need to change the value of a sort order in my sort component whether ascending or descending depend on some input value... e.g if input_val = A then sort order should be ascending else descending I have to use PDL in this... Can you please tell me where do i have to make this change and how ?
What is mvp android?
Do they have bereavement leave? if so, how many days?
Explain the various authentication mechanisms in asp.net.
What is bash coding?
Explain what is alias file in tibco?
When we will take thread dump? Please give us some examples?