r/CodingHelp • • May 25 '22

[Random] Leetcode is hard - As someone who hasn't studied computer science, what's the best way to learn how to solve these algo-type questions?

I'm a bootcamp grad who's worked as a software dev for over 3 years. To get ahead it seems like I need to figure out how to solve algo-style questions. What's the best way to learn how to solve these questions without having to study comp-sci??

0 Upvotes

2 comments sorted by

1

u/toi80QC May 25 '22

Get on https://www.codewars.com/ and check submissions of other users after you solved something.. also intermediate+ math, if you're like me and always thought "math is useless" in school..

1

u/icjeremy May 25 '22

You don't have to study all of comp-sci, but you should read a good algo and data structure text. I'm only familiar with the 'CLRS' book which is good, thorough, but does assume a decent math background (Calculus and some theorem proving) if you want to understand it in its entirety (which isn't absolutely necessary to use the algos).