An open API service indexing awesome lists of open source software.

https://github.com/siddhpant/google-foobar

My approach to Google foobar challenges.
https://github.com/siddhpant/google-foobar

algorithm-challenges computer-science foobar foobar-challenge foobar-solutions google-foobar interview-questions mathematical-programming not-completely-terrible writeups

Last synced: 10 months ago
JSON representation

My approach to Google foobar challenges.

Awesome Lists containing this project

README

          

![ASCII art shown when you complete level 5](https://media.githubusercontent.com/media/siddhpant/google-foobar/master/hopping_bunnies.gif)

*Them rescued bunnies be hoppin' happily!*

# What is foobar? Is this some example repo?

Google foobar is a challenge held by Google, which is not accessible generally. You have to either get invited to it by a referral of someone who's already in the system, or Google selects you and invites you when you are browsing Google and its related sites. It consists of a variety of challenges, with 5 levels. The latter levels are *strongly* inclined towards mathematics and algorithms. Foobar has been in the news as a secret hiring program run by Google, but it would be best that you treat it as a set of challenges to complete, and learn many things along the way. The hiring part is a lucky bonus, but it's certainly not guarenteed. ~~lmao retard you won't get into Google with this, let go of the stupid wet dream.~~ All in all, it was a good learning oppurtunity.

## Did Google hire you?

Bruh moment. No, and I don't think just with this they will hire me. ~~I knew you'd ask this because the above paragraph is too long.~~

## Challenges

- Level 1
- Solar Doomsday

- Level 2
- Ion Flux Relabeling
- Lovely Lucky LAMBs

- Level 3
- Bomb Baby
- Doomsday Fuel
- Fuel Injection Perfection

- Level 4
- Bringing a Gun to Guard a Fight
- Escape Pods

- Level 5
- Dodge the Lasers

## Is this cheating?

No, since there are multiple solutions already out there on the internet which are accessible by a simple Google search.

## Oh, so you cheated! Hahaha you loser

No. You can see the original code and the approach in the comments (except the first two challs where I didn't write any comments, but the code should be obvious so the need for comments can be discounted).

There's no point in copy-pasting, it's in YOUR OWN good to solve yourselves and learn. Though, taking inspirations is fine.

I didn't save the questions for first few challenges, so I had to look them up, only to find availability of solutions (interestingly, solutions were far more easily found than the questions itself). So if you find no/differently styled test cases, that means I had to search that question on internet. And anyways you might have stumbled across this while googling your problems / questions / algorithms / approaches too.

## Hmmm, nice ... Imma steal this

Okay! But please follow the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.



Creative Commons License

Click on the graphic/link above to have a quick glance at the terms of license (if you're seeing this repo, you'd already have an idea of what it means).

The full-text of the license could be found here: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode

## Then why does this repo exist?

Because I want to ;)