Simple and also readable compared to other solutions.
Without the use of infix operators it's a bit clearer: (chars.head to chars.last).diff(chars).head
Loading collection data...
Simple and also readable compared to other solutions.
Without the use of infix operators it's a bit clearer: (chars.head to chars.last).diff(chars).head