Search results for math



Puzzle: A pirate ship with total crew of N pirates acquired a chest with K gold coins. Now they have to divide up the loot. By long term pirate trad ...
Company where asked this question:
Dear Hiring Manager, As my resume reveals, I have a Master's degree in Applied Math and Ph.D in Computer Science. I have more then six years of prof ...
Full question: Given a SQL table which has three columns: Name, Amount and Date the task is to write a SQL statement to aggregate rows in a such w ...
Answer I would consider this to be tricky question as many people would just go with if (a == b) or at most a.Equals(b) but both can fail for fl ...
The distance between the towns A and B is 1000 miles. There is 3000 apples in A, and the apples have to be delivered to B. The available car can tak ...
One of most common question from this area is to write a function which return Nth number of Fibonacci sequence. Fibonacci numbers are a sequence of n ...
Interest in becoming a real estate agent and broker increased significantly as thousands of people wanted to get a piece of a market that seemed to h ...
The task is given a function rand5() which produces a random integer in the range 1 to 5, write a function rand7() which produces a random integer in ...
Company where asked this question: Google, Microsoft