How to reverse a string using a recursive function, without swapping or using an extra memory?
31 95471Coin 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 14784If 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 9695Post New Motorola Interview Questions
Are c and c++ the same?
In which events error & warning are used most extensively?
i want to wearies heads under direct expenses and indirect expenses
The “preserve” check box must only be used at what stage in blue prism?
What oops means?
How to put it into maintenance mode in drupal?
i have done B.E. computer in 2009 i have done software testing course and also 6 months exp in testing on live project as trainee, now a days i am searching job in pune. can any one tell me any opening in pune?
What is a column family in Cassandra?
What are the design considerations while making a choice between using interface and abstract class?
Write a program in php to check whether a number is prime or not?
tell me what is the ? Is it necessary to use in html5
What is Hive Present Version ?
How to Generate Test Case for Shopping Cart?
Enumerate or identify the parts of purifier bowl assembly
What are the steps used to setup dispatch action?