Skip to content

Instantly share code, notes, and snippets.

View music2code's full-sized avatar

Star music2code

  • Walmart - New Product Innovation
  • Brooklyn, NY
View GitHub Profile
music2code / gist:09558f9bd1e0a4a4b838c5f0f2adf4f9
Last active March 8, 2022 22:30
Super Basic -> Min and Max Priority Queue
class Node {
constructor(val, priority = val) {
this.val = val;
this.priority = priority;
// Min
class MinPriorityQueue {
constructor() {
music2code /
Created May 21, 2018 09:41 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.