scala oneliner
```scala []
object Solution {
  import scala.util.chaining._
  def furthestDistanceFromOrigin(moves: String): Int =
    moves.iterator.foldLeft((0,0)){ case ((l,r),m) =>
        if(m == 'L') (l-1,r-1)
        else if(m == 'R') (l+1,r+1)
        else (l-1,r+1)
    }.pipe{case (l,r) => -l max r}
}
```
['Linked List', 'Counting', 'Scala']