about | help | code help+videos | done | prefs |
Write a method that "encodes" a word passed in as the string 'original'. To encode the word, make a new "word" by following the pattern seen in the test data. To make the pattern easier to see, the first few test data items shown have digits in their strings to show where each location ends up. quiz2022_03_23_APSLHL_encodedString("1234567") → "1726354" quiz2022_03_23_APSLHL_encodedString("12345678") → "18273645" quiz2022_03_23_APSLHL_encodedString("ABCDEFGHIJKLMNOP") → "APBOCNDMELFKGJHI" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 230
Copyright Nick Parlante 2017 - privacy