Cody

Solution 546422

Submitted on 16 Dec 2014 by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
1 %% x = 'Hello World!'; y_correct = 'Ifmmp Xpsme!'; assert(isequal(si(x),y_correct)) 2 %% x = 'Can I help you?'; y_correct = 'Dbo J ifmq zpv?'; assert(isequal(si(x),y_correct)) 3 %% x = 'Mary had a liitle lamb.'; y_correct = 'Nbsz ibe b mjjumf mbnc.'; assert(isequal(si(x),y_correct))

ans = 1 ans = Iello World! ans = Ifllo World! ans = Ifmlo World! ans = Ifmmo World! ans = Ifmmp World! ans = Ifmmp World! ans = Ifmmp Xorld! ans = Ifmmp Xprld! ans = Ifmmp Xpsld! ans = Ifmmp Xpsmd! ans = Ifmmp Xpsme! ans = Ifmmp Xpsme! ans = 2 ans = Dan I help you? ans = Dbn I help you? ans = Dbo I help you? ans = Dbo I help you? ans = Dbo J help you? ans = Dbo J help you? ans = Dbo J ielp you? ans = Dbo J iflp you? ans = Dbo J ifmp you? ans = Dbo J ifmq you? ans = Dbo J ifmq you? ans = Dbo J ifmq zou? ans = Dbo J ifmq zpu? ans = Dbo J ifmq zpv? ans = Dbo J ifmq zpv? ans = 3 ans = Nary had a liitle lamb. ans = Nbry had a liitle lamb. ans = Nbsy had a liitle lamb. ans = Nbsz had a liitle lamb. ans = Nbsz had a liitle lamb. ans = Nbsz iad a liitle lamb. ans = Nbsz ibd a liitle lamb. ans = Nbsz ibe a liitle lamb. ans = Nbsz ibe a liitle lamb. ans = Nbsz ibe b liitle lamb. ans = Nbsz ibe b liitle lamb. ans = Nbsz ibe b miitle lamb. ans = Nbsz ibe b mjitle lamb. ans = Nbsz ibe b mjjtle lamb. ans = Nbsz ibe b mjjule lamb. ans = Nbsz ibe b mjjume lamb. ans = Nbsz ibe b mjjumf lamb. ans = Nbsz ibe b mjjumf lamb. ans = Nbsz ibe b mjjumf mamb. ans = Nbsz ibe b mjjumf mbmb. ans = Nbsz ibe b mjjumf mbnb. ans = Nbsz ibe b mjjumf mbnc. ans = Nbsz ibe b mjjumf mbnc.