How to reverse a string using a recursive function, without swapping or using an extra memory?
31 95261Coin 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 14750If 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 9653Post New Motorola Interview Questions
What do daily stand up meetings entail?
How d.p. Transmitter can be applied to open tank?
What is taxonomy in wordpress? Explain
What is an auto-encoder?
A 3-PHASE TRANSFORMER IS USED TO STEP-DOWN THE VOLTAGE OF A 3-PHASE, 11KV FEEDER LINE. PER-PHASE TURNS RATIO IS 12.FOR A PRIMARY LINE CURRENT OF 20A, CALCULATE THE SECOUNDRY LINE VOLTAGE, LINE CURRENT AND OUTPUT KVA FOR FOLLOWING.A)STAR- DELTA.B)DELTA-DELTA.
what do u mean by comparative budget?
Which assembly represents the core LINQ API?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Why do we use inheritance?
What is node js event loop?
Define a shipping unit?
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?
Name the world’s rarest monkey?
what is that one cub metre plaster in cemant and fine sand
What is the form of storage space in java?