Skip to content

Conversation

trekhleb
Copy link
Owner

@trekhleb trekhleb commented Mar 9, 2024

JS misses some data structures that might be handy for the folks who are going through the coding interview process.

This PR contains several minimalistic (by their functionalities and implementation) data structures like MinHeap, MaxHeap, and DisjointSet that don't have external dependencies and that are easy to copy-paste and use during the coding interview if allowed by the interviewer.

@trekhleb trekhleb merged commit 2c67b48 into master Mar 9, 2024
@trekhleb trekhleb deleted the minimalistic-ds branch March 9, 2024 16:15
souzaravinho added a commit to souzaravinho/javascript-algorithms that referenced this pull request Aug 31, 2025
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

Successfully merging this pull request may close these issues.

1 participant