If you're looking to get your JavaScript skills to the next level, you're in the right place. Let's jump right in! π
What are Data Struct...
For further actions, you may consider blocking this person and/or reporting abuse
i love the analogies you've used to explain these concepts, as a beginner i find it quite insightful!
Unlike structures in other languages, Javascript cannot limit the elements in an object in any way. This is especially bad because even const arrays can be extended:
You can prevent extension by freezing the object, but you will not get an error message.
The only way I know to ensure that certain properties are defined ist this:
I wish there were more detail. When would you use a structure? Where would you avoid its use? How are the structures more helpful than similar alternatives? Same for the algorithms.
Good stuff, itβs just missing a lot of detail.
Probably worth pointing out that binary search requires a sorted array.
There seems to be a problem with the algorithm implementation in the code.
Even excluding minor optimizations, merge sort includes empty left and right in the return, while quicksort employs unnecessary left and right.
Very informative and concise no brainer post
very good information
Great Explanation π
I just want to ask one question Doing DSA in JS is good decision?
nice