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
import scala.annotation.tailrec | |
object Solution extends App { | |
implicit class SolutionOps(value: Int) { | |
def isExpressedWith(xs: List[Int]) = { | |
// reverse the list and drop the items bigger than the target | |
val basis = xs.reverse.dropWhile(_ > this.value) | |
// start the recursive implementation |
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
########################### | |
### Configure PATH variables | |
########################### | |
export PATH=$PATH:/Users/Stephen/somefolder/bin | |
#... etc | |
############################ | |
### Mavne | |
############################ |