Skip to content

Instantly share code, notes, and snippets.

View music2code's full-sized avatar
😎
Focusing

Star music2code

😎
Focusing
  • Walmart - New Product Innovation
  • Brooklyn, NY
View GitHub Profile
@music2code
music2code / README-Template.md
Created May 21, 2018 09:41 — forked from PurpleBooth/README-Template.md
A template to make good README.md

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.

Prerequisites

@music2code
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() {