Hi I am just learning programming and I was wondering where can I go to get better at writing algorithms? In a few books I have they show simple ones like finding primes/ finding if number are even through loops, but when I read these sometimes I get confused. Then I look back a day later and try to rewrite the algorithms over again but I can't seem to figure out how to implement the math algorithms with code. Is there any books or places I can go to try to get better at understanding? Or is it that I don't understand some type of concept yet?
Thanks any help will be appreciated.