DEV Community

loading...

Discussion on: A coding interview question asked at Google

Collapse
rascanoo profile image
rascanoo

Hi Simon,

You are correct, well spotted. I changed the solution to reflect your case and hopefully all cases :-)
Couldn't do it with one regex though :-(