Google coding interview question and answer – Universal Value Tree Problem!
For daily coding problems like this one, I’d recommend this website called Daily Coding Problem. You can find it here: https://csdojo.io/daily
(That’s a referral link, and you can get a 10% discount through that link. Their free option and blog articles are good, too, though.)
Also, find me on Instagram: https://www.instagram.com/ykdojo/
And Twitter: https://twitter.com/ykdojo
And Facebook: https://www.facebook.com/entercsdojo