Only thing that comes to mind is HackerRank's AI section. Might be outdated not sure but it was similar to what you are looking for I think. Might be more AI than ML.
It's useful to approach these as toy problems. It's much easier to test and understand what's going on with a simple problem before applying to complex problems.
As an example, being able to model XOR with machine learning is a common intro exercise, since it shows the limitations of basic methods and the necessity for non-linear models. Obviously in real life you would just use XOR itself.
MLFanatic1337 t1_ixd8tmy wrote
For what type of problems would this be useful for? Leetcode style problems have deterministic conditions, why use ML to solve that class of problems?