Facebook Hacker Cup : Studious Student Problem Solution
Photo Credit : Helen Morgan
The Third and final problem of the Facebook Qualification 2011 Round was Studious Student. The problem goes like this:
Studious Student
You’ve been given a list of words to study and memorize. Being a diligent student of language and the arts, you’ve decided to not study them at all and instead make up pointless games based on them. One game you’ve come up with is to see how you can concatenate the words to generate the lexicographically lowest possible string.