No the best strategy is to memorize leetcode problems. All the highest paying jobs (>400k) require dictionary like recall of computer science algorithm fundamentals.
Well certainly not all but that strategy, if you can pull it off, will probably get you a very high-paying job and maybe you won't have to work so hard.
But that's not at all what the OP asked for. Maybe they're already making >400K slinging JS at Facebook or Google. Lots of people do!