Any proxy type can work, but the solving time depends heavily on the proxy's quality and reputation.
With datacenter or low-quality proxies, reCAPTCHA is more likely to present additional challenge rounds, sometimes even after you correctly select the requested tiles. The lower the proxy quality, the more frequently you may encounter repeated challenges, which can significantly increase the solving time.
These challenges can still be solved, but you should expect longer processing times.
If speed is your priority, I strongly recommend using high-quality residential or mobile proxies. With reputable proxies, you can significantly reduce the number of challenge rounds and achieve reCAPTCHA v2 solving times of under 10 seconds in many cases.