This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
I applied for a engineering position at Uber, I had to do some coding challanges as a part of interview | |
I failed solving any challange in 3 hours time limit, felt a little dumb tbh | |
After a few days I tried solving one of the challanges | |
Finished it in about 20 minutes | |
The Challange: | |
There is a list of available Taxis and the time they take to finish one trip in minutes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: Elis | |
License: MIT | |
Usage: | |
Shuffler(element,{ | |
speed?: 20 // Shuffle speed in ms | |
limit?: 10 // Characters shuffle count per letter |