sumn2u / learn-javascript

A book that teaches JavaScript 📗💻📖
https://javascript.sumankunwar.com.np/en/
Apache License 2.0
869 stars 128 forks source link

Space and Time complexity #112

Open sumn2u opened 8 months ago

sumn2u commented 8 months ago

Considering space and time complexity is a significant aspect of programming that ensures code efficiency, scalability, and maintainability. Having a brief introduction to these concepts, followed by example, can greatly benefit JavaScript developers.

starvader13 commented 8 months ago

I would love to take this issue.

starvader13 commented 8 months ago

@sumn2u There are some basic details I want to know before I start working on this.

sumn2u commented 8 months ago

@sumn2u There are some basic details I want to know before I start working on this.

  • [ ] Can I change the chapter numbers as I want to put the complexity chapter after the loops, functions and objects chapter?

Yes

  • [ ] Till what details should I go into the complexity chapter?

Surface level that gives readers context would be enough.

  • [ ] Can you tell whether the given structure is satisfactory or not?
en/complexity
├── README.md
├── space-complexity.md
└── time-complexity.md

Looks good.

starvader13 commented 8 months ago

Surface level that gives readers context would be enough.

Will do that. Thanks for the info.