Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

1 of 2
Value Ink
  • 13.5k
  • 1
  • 18
  • 46

Ruby, 105 bytes

->a{a.map{|e|i=a.count{|n|n[/\S+/]==e[/\S+$/]};e+"#{' definitely'if i>1} has two first names"if i>0}-[p]}

Try it online!

Value Ink
  • 13.5k
  • 1
  • 18
  • 46

AltStyle によって変換されたページ (->オリジナル) /