Newest 'google-foobar' Questions - Stack Overflow

Questions tagged [google-foobar]

The tag has no usage guidance.

-2
votes
0answers
12 views

Foobar Challenge works perfectly locally but not in browser

I am completing the Foobar challenge "ion-flux-relabelling". Below is my code: def find_parent(to_find, max_nodes, height): current_value = max_nodes right = current_value - 1 left = ...
-2
votes
0answers
52 views

Google Foobar Level 2 Lovely Lucky Lambs Failure of Two Tests

I am doing the Google Foobar challenge Lovely Lucky Lambs. I cannot figure out why the following code fails test cases #4 and #10. Here is my code: def solution(total_lambs): return stingy(...
1
vote
0answers
133 views

The “foo.bar challenge is back” link does not work

I had registered in the foo.bar challenge before it went down for an extended maintenance. I then registered to receive an email to be notified when foo.bar is back. A few days ago I received an ...
0
votes
0answers
125 views

I am attempting to log back in to foobar after starting from mobile, but am unable to. Any ideas?

I am unable to log back in to foobar after starting from mobile I have attempted to log in to my desktop in order correct a problem that I had with the keyboard not responding properly, but found ...
0
votes
0answers
93 views

Can't re login to foobar challenge

I got the invitation for foobar challenge. I solved the first challenge as a "guest" and it asked me to login again in the foobar window. It automatically logged me into my other Google account. (not ...
0
votes
1answer
393 views

Google Foobar - Lost access to my challenge

I requested a foobar challenge on a different computer (that I do not now have access to). Now when I try to access it, the directory won't show up, the time doesn't show, and I cannot request the ...
0
votes
0answers
119 views

Google Foo.Bar - Don't Get Volunteered question

So with the code I have right now I pass 9/10 of the test cases. I used breadth-first search to find the shortest path and it seems to work for everything I try. Here's the method to find the path ...
0
votes
1answer
110 views

Google foobar failing 3 out of 10 cases

I am working on Google foobar challenge and I am succeeding 7 out of 10 times. The test cases are hidden. Can you please help by suggesting test cases or pointing what you think is wrong? Question: ...
3
votes
1answer
504 views

Verify error - Google Foobar challenge

I was in the middle of Google Foobar challenge. Everything worked fine before, but got this error message when I was trying to verify my code using verify solution.py today. <!DOCTYPE html> <...
0
votes
1answer
307 views

Failing on Google Foobar tests and don't know why

Verifying solution... Test 1 passed! Test 2 passed! Test 3 failed. Test 4 failed. Test 5 passed! Test 6 passed! Test 7 failed. Test 8 failed. Test 9 failed. Test 10 failed. The requirements: Solar ...
0
votes
2answers
136 views

foobar challenge stuck on prime number postions

I'm pretty stuck now the assignment is given N find the the position of N+4 characters in a string of prime. For example a string of prime numbers is 23571113... So: n = 3 number is = 71113 n = 0 ...
4
votes
1answer
1k views

Foobar Error: Error compiling the code, please try again later

I am getting an error in this program for finding the missing elements in two arrays, I'm new to Java. package com.google.challenges; public class Answer { public static int answer(int[] x, int[]...
1
vote
1answer
692 views

Google Foobar: Java code compiles without a prob1em on my machine, but google foobar gives error "

Google foobar gives : "Error compiling the code, please try again later." Here is my code: package com.google.challenges; public class Answer { public static String[] answer(String[] l) { for ...
0
votes
1answer
341 views

Google foobar challenge gearing_up_for_destruction

Challenge As Commander Lambda's personal assistant, you've been assigned the task of configuring the LAMBCHOP doomsday device's axial orientation gears. It should be pretty simple - just add ...
0
votes
1answer
904 views

Google Foobar: Free the Bunny Prisoners clarification

I'm working my way through Google Foobar and I'm very confused about "Free the Bunny Prisoners". I'm not looking for code, but I could use some insight from anyone that's completed it. First, the ...
1
vote
0answers
595 views

Can This Solution to the Google Foobar “Re-ID” be more efficient?

I'm looking for guidance on a better way to solve Google's Re-ID problem. Instead of typing out the "Re-ID" description here, I will simply list the pertinent parts: There are 10,000 "Minions" each ...
-2
votes
1answer
192 views

Where is the solution stub in this program and how would I call a method in it?

This is a specific question, don't downvote it just because it doesn't help you. public class Answer { public static String answer(int n) { String nums=""; int limit = 10005; int x=2; ...
3
votes
2answers
658 views

Python breadth first shortest path for Google foo bar (prepare the bunnies escape)

I am working on the following problem, and I think that I have it mostly solved, however some of the test cases are failing: You have maps of parts of the space station, each starting at a prison ...
0
votes
1answer
1k views

Google Foobar Level 5- Cellular Automata/Dynamic Programming

I'm currently working on level 5 of foobar. I got the following problem From the scans of the nebula, you have found that it is very flat and distributed in distinct patches, so you can model it as ...
0
votes
1answer
258 views

Python : Stairstep DP solution understanding

I have been looking at this problem. The goal is to build staircases with bricks There are N bricks and all of them must be used to build a staircase Staircases consist of steps of different sizes ...
-1
votes
2answers
607 views

Google's foobar bug in re_id

Today i was just decided to solve Google foobar challenge but i saw a bug in first challenge. That's the readme for first challenge: Re-ID There's some unrest in the minion ranks: minions with ...
-1
votes
1answer
1k views

Google Foobar: How to find edge cases and identify test cases. Python

Problem Fuel Injection Perfection Commander Lambda has asked for your help to refine the automatic quantum antimatter fuel injection system for her LAMBCHOP doomsday device. It's a great ...
0
votes
0answers
364 views

Shortest path through maze ignoring one wall

So I am taking on the foo.bar challenge and need to prepare the bunnies escape. Whenever I run a test case on my code it works, but still says failed on submit. The challenge is to get the shortest ...
2
votes
1answer
2k views

Trying to complete Google foo.bar level 3 (queue_to_do) and keep exceeding time limit

Honestly, I don't think my code is so bad.... This is the fifth version that I've come up with and I think it's the best so far.... But when I run the test on the foo.bar console it says "Time limit ...
0
votes
1answer
60 views

Google foobar arrayIndexOutOfBounds exception on 2D array

My code works absolutely fine in eclipse but throws stupid exceptions on foobar console... (its the level 3:prepare_the_bunnies_escape challenge) public static int answer(int[][] mazearr) { ...
1
vote
1answer
152 views

When does below code throws null pointer exception? ( More efficient alternate code also welcomed)

I just failed the google coding challenge level-4 conducted in foobar site. My code works most of the time but throws null pointer exception for specific set of inputs which I am not aware of. If any ...
0
votes
1answer
620 views

I'm having some trouble while solving Google's foobar challenge.I'm at level 4 and I'm not getting how did we get the path matrix

I don't want any code.Just explain me the question (Especially the path matrix).Here is the question : You and your rescued bunny prisoners need to get out of this collapsing death trap of a space ...
0
votes
0answers
647 views

google foobar bomb_baby. TLE

This is the question i am facing at level 3 of google foobar. So the question is as follows. There are two types: Mach bombs (M) and Facula bombs (F). The bombs, once released into the LAMBCHOP's ...