Skip to content

zshaian/sleepSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sleepSort.js

sleep sort implementation in javascript, this algorithm has a time complexity of O(h no)

Installation

npm install sleep-sorting

Example

const sleepSort = require("sleep-sorting");

(async () => console.log(await sleepSort([4, 1, 3, 6])))();

Use Cases

When to use SleepSort:

  • Job Interview: Impress your Interviewer by implementing this algorithm

Disclaimer

Please don't use this in production or anything that needs to actually work. It's a fun project, and that’s it.