I agree with Project Euler being mostly about math. I prefer Codewars for practicing programming or learning a new language.
- There are problem explanations and an accompanying textbook.
- You can structure the solutions with unit tests that test for known good values.
- There's a graph of problems.