| I lie to people about programming all the time. I tell them it's not about math, you just have to think logically through every step. With more steps comes more scrutiny, so you study how to optimize. You will read papers about optimization to reduce the number of steps. Those papers have a suspicious amount of math. By the time you discover, "...wait, its all math?" "Always has been." What I personally found helpful was the book The Algorithm Design Manual [0]. It starts right off with math, but in a way that connects it to basic primitives of programming. You start building up an algorithmic understanding as you increase the computation complexity. It was very intuitive for me, both for understanding the math and understanding Big O in a rigorous manner. From there it dives into actual algorithms and code, but the math returns periodically. [0]: https://www.algorist.com/ |
[0] Had plenty of books to select from. Kenneth Rosen's was the only one I liked. Knuth's Concrete Mathematics is great if you decide to give a subject a second go -- the material is somewhat different, more abstract, and the side notes by his students are hilarious.
[1] https://www.mathsisfun.com/puzzles/5-pirates-solution.html