Skip to main content
added 12 characters in body
Source Link

BQN, 19 bytes

{𝕩⊏˜•rand.Deal≠𝕩}⍟≢

Explanation:-

{𝕩⊏˜•rand.Deal≠𝕩} shuffles array randomly

⍟≢ shuffles it again if (by chance) the shuffled array is equal to the original array

BQN, 19 bytes

{𝕩⊏˜•rand.Deal≠𝕩}⍟≢

Explanation:-

{𝕩⊏˜•rand.Deal≠𝕩} shuffles array randomly

⍟≢ shuffles it again if (by chance) the array equal to the original array

BQN, 19 bytes

{𝕩⊏˜•rand.Deal≠𝕩}⍟≢

Explanation:-

{𝕩⊏˜•rand.Deal≠𝕩} shuffles array randomly

⍟≢ shuffles it again if (by chance) the shuffled array is equal to the original array

added 2 characters in body
Source Link
Razetime
  • 27.4k
  • 3
  • 29
  • 72

BQN, 19 bytes

BQN, 19 bytes

{𝕩⊏˜•rand.Deal≠𝕩}⍟≢

Explanation:-

{𝕩⊏˜•rand.Deal≠𝕩} shuffles array randomly

⍟≢ shuffles it again if (by chance) the array equal to the original array

BQN, 19 bytes

{𝕩⊏˜•rand.Deal≠𝕩}⍟≢

Explanation:-

{𝕩⊏˜•rand.Deal≠𝕩} shuffles array randomly

⍟≢ shuffles it again if (by chance) the array equal to the original array

BQN, 19 bytes

{𝕩⊏˜•rand.Deal≠𝕩}⍟≢

Explanation:-

{𝕩⊏˜•rand.Deal≠𝕩} shuffles array randomly

⍟≢ shuffles it again if (by chance) the array equal to the original array

Source Link

BQN, 19 bytes

{𝕩⊏˜•rand.Deal≠𝕩}⍟≢

Explanation:-

{𝕩⊏˜•rand.Deal≠𝕩} shuffles array randomly

⍟≢ shuffles it again if (by chance) the array equal to the original array