Solve puzzle with code

Here is a quite common programming interview puzzle – You have two buckets. A 3 gallon bucket and a 5 gallon bucket. Buckets are not marked or graduated. You are to fetch 4 gallon of water in a single trip to the river. How will you do it? Obviousy, this question is asked by changing the capacities of the two buckets and the amount of water to be fetched. Your mission, should you choose to accept it, is to write a program to solve this puzzle in a generic way. Your program should take 3 inputs – capacities of the two buckets and the amount of water to be fetched. After solving the puzzle, your program must write out the […]

Windigo 1.1 Released

Windigo is a windows phone app to access your diigo account on windows phone 7. Create, edit and search diigo bookmarks. Slick, to-the-point interface. Browse and search public bookmarks of other diigo users. Tap on the bookmark for details, including tags. Tap on any tag to narrow your search. Trial version is available. Windigo 1.1 is out on the windows phone marketplace now. ¬†Highlights of this update : – Last SearchScope used is now persistent – Fixed search when a search term is picked from suggested words – Problem report now includes system info – Handle crash on navigating from main page – Fixed feature tracking for analytics Last SearchScope used is now persistent Fixed search when a search term […]