Problem 766. Implement Solitaire cipher for N long deck.

Implement the solitaire cypher.

Given a starting permutation of numbers [1:N], deck, generate M values for the keystream. The small joker will be value N-1, the big joker will be N.

This is an update of this problem.

Solution Stats

63.64% Correct | 36.36% Incorrect
Last solution submitted on Aug 14, 2014


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more