{"id":27865109,"url":"https://github.com/siddhpant/google-foobar","last_synced_at":"2025-07-07T01:05:55.326Z","repository":{"id":131871399,"uuid":"270712702","full_name":"siddhpant/google-foobar","owner":"siddhpant","description":"My approach to Google foobar challenges.","archived":false,"fork":false,"pushed_at":"2020-06-27T09:32:15.000Z","size":34,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-07T01:05:54.996Z","etag":null,"topics":["algorithm-challenges","computer-science","foobar","foobar-challenge","foobar-solutions","google-foobar","interview-questions","mathematical-programming","not-completely-terrible","writeups"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siddhpant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-08T15:06:05.000Z","updated_at":"2024-09-13T00:46:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ca4726d-50c1-4cf9-9427-3ed069d727fb","html_url":"https://github.com/siddhpant/google-foobar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/siddhpant/google-foobar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhpant%2Fgoogle-foobar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhpant%2Fgoogle-foobar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhpant%2Fgoogle-foobar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhpant%2Fgoogle-foobar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddhpant","download_url":"https://codeload.github.com/siddhpant/google-foobar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhpant%2Fgoogle-foobar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263996083,"owners_count":23541399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm-challenges","computer-science","foobar","foobar-challenge","foobar-solutions","google-foobar","interview-questions","mathematical-programming","not-completely-terrible","writeups"],"created_at":"2025-05-04T21:17:54.658Z","updated_at":"2025-07-07T01:05:55.317Z","avatar_url":"https://github.com/siddhpant.png","language":"Python","readme":"![ASCII art shown when you complete level 5](https://media.githubusercontent.com/media/siddhpant/google-foobar/master/hopping_bunnies.gif)\n\n*Them rescued bunnies be hoppin' happily!*\n\n# What is foobar? Is this some example repo?\n\nGoogle 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.\n\n## Did Google hire you?\n\nBruh 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.~~\n\n## Challenges\n\n- Level 1\n    - Solar Doomsday\n\n- Level 2\n    - Ion Flux Relabeling\n    - Lovely Lucky LAMBs\n\n- Level 3\n    - Bomb Baby\n    - Doomsday Fuel\n    - Fuel Injection Perfection\n\n- Level 4\n    - Bringing a Gun to Guard a Fight\n    - Escape Pods\n\n- Level 5\n    - Dodge the Lasers\n\n## Is this cheating?\n\nNo, since there are multiple solutions already out there on the internet which are accessible by a simple Google search.\n\n## Oh, so you cheated! Hahaha you loser\n\nNo. 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).\n\nThere's no point in copy-pasting, it's in YOUR OWN good to solve yourselves and learn. Though, taking inspirations is fine.\n\nI 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.\n\n## Hmmm, nice ... Imma steal this\n\nOkay! But please follow the \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003eCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License\u003c/a\u003e.\n\n\u003cp align=\"center\"\u003e\n  \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e\n    \u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nClick 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).\n\nThe full-text of the license could be found here: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode\n\n## Then why does this repo exist?\n\nBecause I want to ;)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhpant%2Fgoogle-foobar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhpant%2Fgoogle-foobar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhpant%2Fgoogle-foobar/lists"}