Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 288 Bytes

string_scramble.md

File metadata and controls

5 lines (3 loc) · 288 Bytes

###String Scramble

Create a function string_scramble(str1,str2) that takes two strings. If a portion of str1 characters can be rearranged to match str2 return true, otherwise return false.

For example: if str1 is "rkqodlw" and str2 is "world" the output should return true.