Google Interview Report
- 0of 0 votes
AnswersDefine a structure / class to hold a very big number (way bigger than bigint) and add a member functions to increment the number by 1 and decrement the number by 1
- Dee November 06, 2012 in United States| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer - 5of 5 votes
AnswersGiven a source string and a destination string write a program to display sequence of strings to travel from source to destination. Rules for traversing:
- Dee November 06, 2012 in United States
1. You can only change one character at a time
2. Any resulting word has to be a valid word from dictionary
Example: Given source word CAT and destination word DOG , one of the valid sequence would be
CAT -> COT -> DOT -> DOG
Another valid sequence can be
CAT -> COT - > COG -> DOG
One character can change at one time and every resulting word has be a valid word from dictionary| Report Duplicate | Flag | PURGE
Google Site Reliability Engineer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.