0
/ 1.0
Description
Given a string, compute recursively a new string where all the adjacent chars are now separated by an underscore ("_"). So...
Given a string, compute recursively a new string where all the adjacent chars are now separated by an underscore ("_"). So given "hello", return "h_e_l_l_o".
String class:
indexOf, lastIndexOf, contains, endsWith, startsWith,
matches, replace, nor replaceAll.Examples:
insertUnderscore("abc") -> "a_b_c"
insertUnderscore("a") -> "a"
Your feedback will appear here when you check your answer.