Solution in raw JavaScript
Solution in raw JavaScript

MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem