Added problem 'Beautiful strings'

From the Facebook Hacker Cup 2013 Qualification Round