Skip to main content
Commonmark migration
Source Link

Japt -h, 7 bytes

â £kX â

Try it online!

##Explanation: â £kX â â // Get all unique items from the input £ // Map X through the results kX // Remove X from the input â // Get unique items -h // Return the last item

Explanation:

â £kX â
â         // Get all unique items from the input
  £       // Map X through the results
   kX     //   Remove X from the input
      â   //   Get unique items
-h        // Return the last item

Japt -h, 7 bytes

â £kX â

Try it online!

##Explanation: â £kX â â // Get all unique items from the input £ // Map X through the results kX // Remove X from the input â // Get unique items -h // Return the last item

Japt -h, 7 bytes

â £kX â

Try it online!

Explanation:

â £kX â
â         // Get all unique items from the input
  £       // Map X through the results
   kX     //   Remove X from the input
      â   //   Get unique items
-h        // Return the last item
added 249 characters in body
Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38

Japt -h, 7 bytes

â £kX â

Try it online!

##Explanation: â £kX â â // Get all unique items from the input £ // Map X through the results kX // Remove X from the input â // Get unique items -h // Return the last item

Japt -h, 7 bytes

â £kX â

Try it online!

Japt -h, 7 bytes

â £kX â

Try it online!

##Explanation: â £kX â â // Get all unique items from the input £ // Map X through the results kX // Remove X from the input â // Get unique items -h // Return the last item

added 10 characters in body
Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38

Japt -gh, 57 bytes

â £kX â

Try it online!Try it online!

Japt -g, 5 bytes

â £kX

Try it online!

Japt -h, 7 bytes

â £kX â

Try it online!

Source Link
Oliver
  • 7.9k
  • 2
  • 18
  • 38
Loading