id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

orion.a.smith@gmail.com apcsa-lists > apcsaListOrderedCharacters
prev  |  next  |  chance

Given an ArrayList of Strings, create and return a new List of Strings where each output String at index n is made up of all the characters with index n from the input Strings, in the same order they appeared in the input.


apcsaListOrderedCharacters(["hello", "world", "today"]) → ["hwt", "eoo", "lrd", "lla", "ody"]
apcsaListOrderedCharacters(["whistle", "while", "you", "work"]) → ["wwyw", "hhoo", "iiur", "slk", "te", "l", "e"]
apcsaListOrderedCharacters([]) → []

...Save, Compile, Run (ctrl-enter)

public List<String> apcsaListOrderedCharacters(ArrayList<String> lst) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 240

Copyright Nick Parlante 2017 - privacy