Skip to main content
deleted 72 characters in body
Source Link
hucko
  • 31
  • 2

Scala, 103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>(s_.size,s)toLowerCase).mkString

94 bytes -> 103 bytes but it handles > 10 occurrences of a letter now.

Try it online!

Scala, 103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>(s.size,s)).mkString

94 bytes -> 103 bytes but it handles > 10 occurrences of a letter now.

Try it online!

Scala, 103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(_.toLowerCase).mkString

Try it online!

added 393 characters in body
Source Link
hucko
  • 31
  • 2

ScalaScala, 103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>(s.size,s)).mkString
_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>(s.size,s)).mkString

94 bytes -> 103 bytes but it handles > 10 occurrences of a letter now.

Try it online!Try it online!

Scala, 103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>(s.size,s)).mkString

94 bytes -> 103 bytes but it handles > 10 occurrences of a letter now.

Try it online!

Scala, 103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>(s.size,s)).mkString

94 bytes -> 103 bytes but it handles > 10 occurrences of a letter now.

Try it online!

added 70 characters in body
Source Link
hucko
  • 31
  • 2

Scala, 94103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>ss=>(s.size,s)).mkString

94 bytes -> 103 bytes but it handles > 10 occurrences of a letter now.

Try it online!

Scala, 94 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>s).mkString

Try it online!

Scala, 103 bytes

_.filter(_.isLetter).groupBy(_%32).values.map(l=>l.size+""+l.last).toSeq.sortBy(s=>(s.size,s)).mkString

94 bytes -> 103 bytes but it handles > 10 occurrences of a letter now.

Try it online!

deleted 3 characters in body
Source Link
hucko
  • 31
  • 2
Loading
deleted 6 characters in body
Source Link
hucko
  • 31
  • 2
Loading
Source Link
hucko
  • 31
  • 2
Loading