News for hackers. Stuff that matters.
Re:Ask HN: Any good examples of learning through games/puzzl... by 10-6 on Thursday July 26, 2018 @11:09AM (#17618051)
Re:Ask HN: Any good examples of learning through games/puzzl... by appleiigs on Thursday July 26, 2018 @05:37PM (#17621459)
Are there any on the list here that are best for learning algorithms in a manner similar to a course curriculum and has explanations? I'm asking from a self-taught web dev (django) perspective where I have holes in my knowledge. Some algo books I have so far seem too mathy. While not afraid of math, I understand it better when coding them out myself.

I wish projecteuler would provide more hints/explanations. Adventofcode problems are fun but are random (not like a curriculum). Other websites are competitive programming focused which I'm not sure is comp-sci enough (correct me if I'm wrong).

Re:Ask HN: Any good examples of learning through games/puzzl... by 10-6 on Thursday July 26, 2018 @11:36PM (#17623257)
So for beginner/intermediate alg/data structures challenges with explanations and solutions I would recommend the following resources:

1. Read the Algorithm Design Manual.

2. Practice coding simple and then more advanced algorithms on sites like Coderbyte (aimed at beginners -> intermediate) and HackerRank (a bit more mathy).

3. Read as many algorithm explanations and code examples as you can on GeeksforGeeks.

4. Try and implement basic algorithms yourself like: shortest path, minimum spanning tree, DFS/BFS, tree traversals, different sorting algs, min/max heap, etc. and learn their running times.

* Also this article may be helpful for you: https://medium.com/coderbyte/how-to-get-good-at-algorithms-d...

Re:Ask HN: Any good examples of learning through games/puzzl... by nso95 on Thursday July 26, 2018 @08:52PM (#17622649)
Not on the list, but you might find http://interviewbit.com more structured
Re:Ask HN: Any good examples of learning through games/puzzl... by bunny9 on Friday July 27, 2018 @05:44AM (#17624735)
Yeah, +1 for InterviewBit. Courses here are a way more structured and gamified.
Re:Ask HN: Any good examples of learning through games/puzzl... by machiaweliczny on Friday July 27, 2018 @02:53AM (#17623990)
I can recommend 2 books "competitive programmer handbook" and "algorithms unlocked" - none of these books is too mathy
Re:Ask HN: Any good examples of learning through games/puzzl... by machiaweliczny on Friday July 27, 2018 @02:56AM (#17624004)
Leetcode seems like something u are looking for as well
Re:Ask HN: Any good examples of learning through games/puzzl... by rurban on Friday July 27, 2018 @03:10AM (#17624055)
http://www.hakank.org/picat/ has the most examples, good explanation of the problems, and elegant, short solutions.
Re:Ask HN: Any good examples of learning through games/puzzl... by viraptor on Thursday July 26, 2018 @05:29PM (#17621371)
Re:Ask HN: Any good examples of learning through games/puzzl... by Kagerjay on Thursday July 26, 2018 @02:41PM (#17619789)
halite.io reminds me of screeps on steam
Re:Ask HN: Any good examples of learning through games/puzzl... by 10-6 on Thursday July 26, 2018 @03:32PM (#17620258)
Ah yeah I forgot to mention screeps which is awesome!
Re:Ask HN: Any good examples of learning through games/puzzl... by 10-6 on Thursday July 26, 2018 @03:36PM (#17620285)
Some more I actually should have mentioned:

https://flexboxfroggy.com (CSS)

https://www.datacamp.com (data science challenges)

https://www.codingame.com/start (learn to code via fun games)

https://screeps.com (cool MMO AI game w/ JS coding)

Re:Ask HN: Any good examples of learning through games/puzzl... by 0xcafecafe on Thursday July 26, 2018 @04:05PM (#17620487)
Great list, thank you