• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Google foo.bar challenge (easter egg)

 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I stumbled upon the Google foo.bar challenge Easter egg the other day while searching for Dijkstra's Goto Considered Harmful essay.  If you want to try your hand at it and haven't been able to find the Easter egg, I have a one-time use only link to give away. First one, to ask for it gets it, I'll send it via Purple Mooseage or to whatever email you want me to use.

I've completed the Largest Squares, the Ion-Flux rearranging, and the Gearing Up for Destruction. All pretty challenging if you try to come up with the algorithms yourself, without help from others who have posted their solutions. On the last challenge I did, the Gearing up for Destruction, I got stuck with 8/10 tests passing the verification. I did look at other solutions but I only needed them to get an insight as to what I was missing in my solution, which is all based on math, no brute-force trial-and-error needed.
 
Saloon Keeper
Posts: 15510
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hit me up!
 
Junilu Lacar
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just solved Level 3 Challenge #1 of 3 - Lucky Triples. That was a tough one. Google foo.bar tests (there are 5 of them for this challenge) won't accept any solutions that run O(n^3). I got my solution down to O(n^2) and some change before it passed all tests.  Google tracks the amount of time elapsed from when you request the challenge to when you submit it. This one, per Google's reckoning, took me 1 day, 2 hrs, 5 secs. Of course, I had to work my day job, do stuff around the house, go for a dentist appointment this morning, have lunch with my Aikido sensei, and other RW stuff in between, so total time of working on the challenge was probably around 4-6 hours. I need to get some sleep.

 
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Aw too slow This looks intriguing.
 
Junilu Lacar
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just completed Level 3. Here's what I was rewarded with:
reply
    Bookmark Topic Watch Topic
  • New Topic