This file contains 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
// cashMachine, returningAmount -> 5,5,5 | 10, 5 | |
function calculate(customerBills) { | |
const cashMachine = { | |
5: 0, | |
10: 0, | |
20: 0 | |
}; | |
let totalCashInHand = 0; |
This file contains 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
[user] | |
name = ammarhasan | |
email = hasanammar94@gmail.com | |
[core] | |
editor = nano | |
[alias] | |
stash-untracked = "!f() { \ | |
git stash; \ | |
git stash -u; \ | |
git stash pop stash@{1}; \ |
OlderNewer