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

 

andersoniii.edwin@cusd80.com week9 > weaveWords1
prev  |  next  |  chance

Weaving Words - This is a new word game - Given two words of same length, write a program that will "weave" the words together. Take the first letter from String str1 and then a letter from String str2. Continue this pattern and return the resulting "Weave Word".


weaveWords1("computer", "sciences") → "csocmipeuntceers"
weaveWords1("mom", "dad") → "mdoamd"
weaveWords1("abc", "abc") → "aabbcc"

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

public String weaveWords1(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: 153

Copyright Nick Parlante 2017 - privacy