No, you probably don't know as well as you think you do. No, you're not going to get there by grinding leetcode. No, you aren't going to get there quickly, or without a lot of interaction with more-experienced peers, or without being told that your judgment is bad a few times. (And if you don't listen - really listen - then you don't learn.)
Good judgment in these things takes time and experience. If you have a year of experience and think you know, you're probably wrong.
Learn when to DRY, and when not.
No, you probably don't know as well as you think you do. No, you're not going to get there by grinding leetcode. No, you aren't going to get there quickly, or without a lot of interaction with more-experienced peers, or without being told that your judgment is bad a few times. (And if you don't listen - really listen - then you don't learn.)
Good judgment in these things takes time and experience. If you have a year of experience and think you know, you're probably wrong.