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 Answer

added 200 characters in body
Source Link
Adám
  • 31.8k
  • 4
  • 131
  • 292

APL (Dyalog Extended), 4 bytesbytes (SBCS )

Anonymous tacit infix function. Takes string n as right argument and number m as left argument.

⍎-⍛⌽

Try it online!

execute the result of

-⍛ negating the left argument, then using that to

cyclically rotate the right argument

APL (Dyalog Extended), 4 bytes

Anonymous tacit infix function. Takes string n as right argument and number m as left argument.

⍎-⍛⌽

Try it online!

execute the result of

-⍛ negating the left argument, then using that to

cyclically rotate the right argument

APL (Dyalog Extended), 4 bytes (SBCS )

Anonymous tacit infix function. Takes string n as right argument and number m as left argument.

⍎-⍛⌽

Try it online!

execute the result of

-⍛ negating the left argument, then using that to

cyclically rotate the right argument

Source Link
Adám
  • 31.8k
  • 4
  • 131
  • 292

APL (Dyalog Extended), 4 bytes

Anonymous tacit infix function. Takes string n as right argument and number m as left argument.

⍎-⍛⌽

Try it online!

execute the result of

-⍛ negating the left argument, then using that to

cyclically rotate the right argument

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