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.
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
, andDisjointSet
that don't have external dependencies and that are easy to copy-paste and use during the coding interview if allowed by the interviewer.