Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript: Change the articles linked in the assignment of the space complexity lesson #29254

Open
3 tasks done
RaihanSharif opened this issue Dec 30, 2024 · 1 comment
Open
3 tasks done

Comments

@RaihanSharif
Copy link
Contributor

Checks

Describe your suggestion

The two articles linked in the assignment are, in my opinion, insufficient. As per user comments on the first article, it appears to be causing confusion about whether space complexity includes the space taken up by the input as well as auxiliary space, or just the auxiliary space.

When describing example 2 in the article, the author says it has space complexity of O(n), but when discussing example 3, she cites example 2 as an iterative O(1).

The article uses Ruby, and while the syntax is not difficult to understand, it adds a small extra cognitive overheads for students in the Javascript path. An article using Js or plain pseudocode may be better.

If mods/admins like the idea I can suggest better articles, and if those article(s) are approved, I can update the lesson.

Path

Node / JS

Lesson Url

https://dev.to/mwong068/big-o-space-complexity-lcm

(Optional) Discord Name

freakzilla149

(Optional) Additional Comments

No response

@rlmoser99
Copy link
Member

Thank you for taking the time to make this suggestion. In the past I believe that we have wanted to keep the ruby and javascript lessons in sync, but maybe we should revisit this stance.

Can someone on the @TheOdinProject/ds-a team take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants