My submitted solution was wrong, but here's the correct (hopefully) solution I came up with after my submission.
Problem: Facebook Hacker Cup 2013 Qualification Round: (45) Find the Min
Solution: Time complexity - O(k) O(k^2)
Programming Competition and Programming Interview questions. And maybe some web stuff, too.
My submitted solution was wrong, but here's the correct (hopefully) solution I came up with after my submission.
Problem: Facebook Hacker Cup 2013 Qualification Round: (45) Find the Min
Solution: Time complexity - O(k) O(k^2)
Problem: Facebook Hacker Cup 2013 Qualification Round: (35) Balanced Smileys
I participated in Facebook Hacker Cup again this year. I am currently ranked 160th out of 10,000 participants. I will go way down the list when the official results come out because I messed up the third question.
Problem: Facebook Hacker Cup 2013 Qualification Round: (20) Beautiful string