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

 

mar7_2017_APSLHL_interlace


Write a method that returns a string made by interlacing the two input parameter strings. For example, "RUN" and "later" becomes "RlUaNt". Once the end of either string is reached the interlacing process stops. Look at the test data for additional examples.


mar7_2017_APSLHL_interlace("", "") → ""
mar7_2017_APSLHL_interlace("", "asfdaewaf") → ""
mar7_2017_APSLHL_interlace("testing", "aardvark") → "taeasrtdivnagr"

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

public String mar7_2017_APSLHL_interlace(String str1, String str2) { }

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: 290

Copyright Nick Parlante 2017 - privacy