Google Interview Questions on puzzles: This type of Google Interview Questions on puzzles are asked by Google to check the technical mind of the students and to check the level of thinks of the students under pressure. So Google Interview Questions on puzzles is asked by Google. If in case any other questions are asked by the google point of view comment on below we will be updated for all the students.
Google Interview Questions on puzzles
Solve this cryptic equation, realizing of course that values for M and E could be interchanged. No leading zeros are allowed.
WWWDOT – GOOGLE = DOTCOM
This can be solved through the systematic application of logic. For example, cannot be equal to, since. That would make, but, which is not possible.
Here is a slow brute-force method of solution that takes a few minutes on a relatively fast machine:
A) This gives the two solutions
777589 – 1881 6 == 589483
777589 – 1881 3 == 589486
Here is another solution using Mathematica’s Reduce command:
A faster (but slightly more obscure) piece of code is the following:
Faster still using the same approach (and requiring ~3 MB of memory):
Even faster using the same approach (that does not exclude leading zeros in the solution, but that can easily be weeded out at the end):
Here is an independent solution method that uses branch-and-prune techniques:
And the winner for overall fastest:
Write a haiku describing possible methods for predicting search traffic seasonality.
A) MathWorld’s search engine
seemed slowed this May. Undergrads
prepping for finals.
What’s the next line?
1 2 1 1
1 1 1 2 2 1
A) 312211. This is the “look and says” sequence in which each term after the first describes the previous term: one 1 (11); two 1s (21); one 2 and one 1 (1211); one 1, one 2, and two 1’s (111221); and so on. See the look and say sequence entry on MathWorld for a complete write-up and the algebraic form of a fascinating related quantity known as Conway’s constant.
You are in a maze of twisty little passages, all alike. There is a dusty laptop here with a weak wireless connection. There are dull, lifeless gnomes strolling around. What dost thou do?
A) Wander aimlessly, bumping into obstacles until you are eaten by a grue.
B) Use the laptop as a digging device to tunnel to the next level.
C) Play MMORPG until the battery dies along with your hopes.
D) Use the computer to map the nodes of the maze and discover an exit path.
E) Email your resume to Google, tell the lead gnome you quit and find yourself in a whole different world [sic].
A) In general, make a state diagram. However, this method would not work in certain pathological cases such as, say, a fractal maze. For an example of this and commentary, see Ed Pegg’s column about state diagrams and mazes.
What’s broken with Unix?
A) Their reproductive capabilities.
How would you fix it?
On your first day at Google, you discover that your cubicle mate wrote the textbook you used as a primary resource in your first year of graduate school. Do you?
A) Fawn obsequiously and ask if you can have an autograph.
B) Sit perfectly still and use only soft keystrokes to avoid disturbing her concentration
C) Leave her daily offerings of granola and English toffee from the food bins.
D) Quote your favorite formula from the textbook and explain how it’s now your mantra.
E) Show her how example 17b could have been solved with 34 fewer lines of code.
Which of the following expresses Google’s over-arching philosophy?
A) “I’m feeling lucky”
B) “Don’t be evil”
C) “Oh, I already fixed that”
D) “You should never be more than 5 feet from food”
E) All of the above
How many different ways can you color an icosahedron with one of three colors on each face?
A) For an asymmetric 2 -sided solid, there are possible 3-colorings. For a symmetric 2 -sided object, the Polya enumeration theorem can be used to obtain the number of distinct colorings. Here is a concise Mathematica implementation:
What colors would you choose?
On an infinite, two-dimensional, rectangular lattice of 1-ohm resistors, what is the resistance between two nodes that are a knight’s move away?
A) This problem is discussed in J. Cserti’s 1999 arXiv preprint. It is also discussed in The Mathematica GuideBook for Symbolics, the forthcoming fourth volume in Michael Trott’s GuideBook series, the first two of which were published just last week by Springer-Verlag. The contents for all four GuideBooks, including the two not yet published, are available on the DVD distributed with the first two.
In your opinion, what is the most beautiful math equation ever derived?
A) There are obviously many candidates. The following list gives ten of the authors’ favorites:1. Archimedes’ recurrence formula:
2. Euler formula
3. Euler-Mascheroni constant :
4. Riemann hypothesis: and implies
5. Gaussian integral :
6. Ramanujan’s prime product formula:
7. Zeta-regularized product :
8. Mandelbrot set recursion:
9. BBP formula :
10. Cauchy integral formula:
An excellent paper discussing the most beautiful equations in physics is Daniel Z. Freedman’s ” Some beautiful equations of mathematical physics .” Note that the physics view on beauty in equations is less uniform than the mathematical one. To quote the not-necessarily-standard view of theoretical physicist P.A.M. Dirac, “It is more important to have beauty in one’s equations than to have them fit experiment.”
Which of the following is NOT an actual interest group formed by Google employees?
A. Women’s basketball
B. Buffy fans
D. Nobel winners
E. Wine club
What will be the next great improvement in search technology?
A) Semantic searching of mathematical formulas. .html for work currently underway at Wolfram Research that will be made available in the near future.
What is the optimal size of a project team, above which additional members do not contribute productivity equivalent to the percentage increase in the staff size?
Given a triangle ABC, how would you use only a compass and straight edge to find a point P such that triangles ABP, ACP, and BCP have equal perimeters? (Assume that ABC is constructed so that a solution does exist.)
A) This is the isoperimetric point, which is at the center of the larger Soddy circle. It is related to Apollonius’ problem. The three tangent circles are easy to construct: The circle around has a diameter, which gives the other two circles. A summary of compass and straightedge constructions for the outer Soddy circle can be found in ” Apollonius’ Problem: A Study of Solutions and Their Connections” by David Gisch and Jason M. Ribando.
Consider a function which, for a given whole number n, returns the number of ones required when writing out all numbers between and n. For example, f(13)=6. Notice that f(1)=1. What is the next largest n such that f(n)=n?
A) The following Mathematica code computes the difference between [the cumulative number of 1s in the positive integers up to n] and [the value of n itself] as n ranges from 1 to 5.
The solution to the problem is then the first position greater than the first at which data equals :
which are the first few terms of sequence A 14778 in the On-Line Encyclopedia of Integer Sequences?
Checking by hand confirms that the numbers from 1 to 199981 contain a total of 199981 1s:
What is the coolest hack you’ve ever written?
A) While there is no “correct” answer, a nice hack for solving the first problem in the SIAM hundred-dollar, the hundred-digit challenge can be achieved by converting the limit into the strongly divergent series:
and then using Mathematica’s numerical function SequenceLimit to trivially get the correct answer (to six digits),
You must tweak parameters a bit or write your own sequence limit to get all 1 digits.
‘T is known in refined company, that choosing K things out of N can be done in ways as many as choosing N minus K from N: I pick K, you the remaining.
A) This simply states the binomial coefficient identity.
Find though a cooler bijection, where you show a knack uncanny, of making your choices contain all K of mine. Oh, for pedantry: let K be no more than half N.
‘Tis more problematic to disentangle semantic meaning precise from this paragraph of verbiage peculiar.
What number comes next in the sequence: 1, 9, 6, 9, 7, 66,….?
C) Either of the above
D) None of the above
More Google Interview Questions on puzzles
In 29 words or fewer, describe what you would strive to accomplish if you worked at Google Labs.
It’s 2 PM on a sunny Sunday afternoon in the Bay Area. You’re minutes from the Pacific Ocean, redwood forest hiking trails and world-class cultural attractions. What do you do?
Here to home page – view
Related Google Interview Questions:
If You Have Any Queries/ Suggestions / Doubts/ Complaints, Feel Free To Comment Below.
MAIL US AT ANY TIME: JNTUFASTRESULT@GMAIL.COM OUR TEAM WILL GIVE REPLY TO YOU AS SOON AS POSSIBLE