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

 

andersoniii.edwin@cusd80.com > weaveWords5Backwards
prev  |  next  |  chance

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


weaveWords5Backwards("mom", "dad") → "mdoamd"
weaveWords5Backwards("java", "bean") → "anvaaejb"
weaveWords5Backwards("success", "essence") → "sescencecsusse"

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

public String weaveWords5Backwards(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: 160

Copyright Nick Parlante 2017 - privacy