Leet code tests your DSA knowledge
I don't want to be specific, but idk about leet code. I have seen and solved some programming questions. They do challenge your thinking abilities. It's like a math exam. Not all the math you will learn will be useful in real life. But you certainly get good at the real life part of math, i.e Basic Arithmetic