News for hackers. Stuff that matters.
Re:Show HN: Data Structures and Algorithms in JavaScript by gargarplex on Wednesday August 07, 2019 @10:40AM (#20635085)
Can you turn this into an interactive thing like Duolingo where you grind through the exercises? Much needed in the developer community...

PS. If anyone else is interested in building this, happy to collab!

Re:Show HN: Data Structures and Algorithms in JavaScript by codezero on Wednesday August 07, 2019 @11:56AM (#20635875)
Not to discourage this rally cry (go for it!) I found that Exericsm was a pretty good place to practice stuff: https://exercism.io/
Re:Show HN: Data Structures and Algorithms in JavaScript by sciencewolf on Wednesday August 07, 2019 @11:15AM (#20635440)
Small plug-- this is what I tried to do with https://algodaily.com - going from the easiest algorithms (like "Reverse a String") all the way to Union-Find, while sprinkling implementations of BST, graphs, etc. along the way.
Re:Show HN: Data Structures and Algorithms in JavaScript by cellularmitosis on Wednesday August 07, 2019 @11:54AM (#20635857)
I just tried signing up but I'm getting an error. "The change you wanted was rejected. Maybe you tried to change something you didn't have access to. If you are the application owner check the logs for more information."
Re:Show HN: Data Structures and Algorithms in JavaScript by jorblumesea on Wednesday August 07, 2019 @11:56AM (#20635877)
Fyi if you're going to handle any kind of account signup you should be running in TLS/SSL. I know this is just algo practice but these are best security practices.

Also, I don't see how this is any different from leetcode/hackrank etc. You just support less languages. Your first question is a "island" style problem which isn't a CS algo question, it's just a brainteaser like leetcode often gives you.

Re:Show HN: Data Structures and Algorithms in JavaScript by sciencewolf on Wednesday August 07, 2019 @12:03PM (#20635938)
Good points!

1 - It does have TLS/SSL, just changed the referring link to https and redirecting all http to https

2 - That's a fair assessment, check out https://algodaily.com/challenges/validate-palindrome for a sense of how it differs: a) the step-through visualization button helps you know what's going on at each step, b) the trivia style questions help you "piece together" the solution before answering it fully, and c) each walkthrough walks you through the actual solution step by step, in plain English.

Re:Show HN: Data Structures and Algorithms in JavaScript by Roonerelli on Wednesday August 07, 2019 @11:31AM (#20635627)
just tried to sign up but got the following error:

"The change you wanted was rejected. Maybe you tried to change something you didn't have access to.

If you are the application owner check the logs for more information."

Re:Show HN: Data Structures and Algorithms in JavaScript by sciencewolf on Wednesday August 07, 2019 @11:36AM (#20635673)
Hmm just tried to signup and seems to work on my end. Could you try again? Thanks for taking a look!
Re:Show HN: Data Structures and Algorithms in JavaScript by k14e on Wednesday August 07, 2019 @11:46AM (#20635779)
Hey I'm also interested in this app, sounds like a great idea! However I experienced the same issue trying sign up just right now.
Re:Show HN: Data Structures and Algorithms in JavaScript by rapfaria on Wednesday August 07, 2019 @11:41AM (#20635732)
Doesn't work here as well.

Also, do you really need me to signup with a password? These days I'm skeptical of putting passwords out there, and it's just a mailing list.

Re:Show HN: Data Structures and Algorithms in JavaScript by sciencewolf on Wednesday August 07, 2019 @11:49AM (#20635810)
Looking into it now!

And definitely do not need a password. You only need a password if you want an account to save your progress.

If you just want to sign up for the mailing list, you can do so on the popover, at the bottom of https://algodaily.com/sample_newsletter, or at the bottom of any lesson like https://algodaily.com/lessons/how-to-get-better-at-coding-in...

Re:Show HN: Data Structures and Algorithms in JavaScript by cellularmitosis on Wednesday August 07, 2019 @12:03PM (#20635942)
Hmm, the subscribe button changes color, but doesn't seem to do anything. My email address ends in '.tv' if that matters.
Re:Show HN: Data Structures and Algorithms in JavaScript by sciencewolf on Wednesday August 07, 2019 @11:58AM (#20635898)
This should be resolved! Could you try again?
Re:Show HN: Data Structures and Algorithms in JavaScript by esturk on Thursday August 08, 2019 @02:54AM (#20642400)
"Reverse a string" is actually one of the hardest interview questions to implement.
Re:Show HN: Data Structures and Algorithms in JavaScript by panda88888 on Friday August 09, 2019 @02:24AM (#20651766)
Lol. This is so true unless the string is limited to fixed length encodings only, ie ASCII.
Re:Show HN: Data Structures and Algorithms in JavaScript by yodon on Wednesday August 07, 2019 @10:45AM (#20635166)
Agreed. Sites like HackerRank are great for learning test taking but are not optimized for learning the underlying material. Would like to see modern human language learning techniques applied to small data structures and algorithms exercises.
Re:Show HN: Data Structures and Algorithms in JavaScript by marceloabsousa on Wednesday August 07, 2019 @11:44AM (#20635754)
I'm interested! I created an issue at https://github.com/marcelosousa/million-dollar-ideas/issues/... where we could start a discussion.
Re:Show HN: Data Structures and Algorithms in JavaScript by admerox on Wednesday August 07, 2019 @11:22AM (#20635535)
That’s a great idea. I’ll look into it.
Re:Show HN: Data Structures and Algorithms in JavaScript by misiti3780 on Wednesday August 07, 2019 @11:03AM (#20635345)
you mean convert the book into anki flash cards ?