0
I need to transform
List("home", "mens", "clothing", "jackets")
into
List(
"/home",
"/home/mens",
"/home/mens/clothing",
"/home/mens/clothing/jackets"
)
This is what I have so far:
val nodes = ("home", "mens", "clothing", "jackets")
val (rootNode, otherNodes) = nodes.splitAt(1)
va...