When I was googling ‘javascript regular expression’, the browser brought me this.
![](https://igo.cc/wp/wp-content/uploads/2022/01/Screen-Shot-2022-01-22-at-3.22.41-PM-1024x185.png)
I didn’t know about Google’s foobar challenge but it seems it’s been around for a while. Well let’s see how far I can go.
![](https://igo.cc/wp/wp-content/uploads/2022/01/Screen-Shot-2022-01-22-at-4.12.06-PM-1024x443.png)
I could pass the first challenge after some struggling with java which I haven’t talked for many years. I may use this cake-cutting problem for the next coding interview?