“Beautiful Strings” is the first and simplest of the 2013 Facebook Hacker Cup’s qualification round problems. It is valued at 20 of the 100 possible points for the round and is relatively straightforward.
Facebook’s Hacker Cup is back for its 2013 installment. The qualification round has actually already started and I will be posting solutions to those problems when the round closes (if they turn out to be correct).
Programming contests are interesting to say the least. The sheer feeling of knowing you have a limited amount of time to come up with a solution that will not only be correct but fast enough to handle large and purposefully tricky inputs is a challenge few programmers can resist.
One thing is vital in programming challenges though, figuring out what you actually need to solve and what is just noise for the particular problem at hand.
Every programmer has heard the phrase “Premature Optimization is the Root of All Evil”; make no mistake, there is a reason this phrase is so often repeated.
Prematurely Optimizing an algorithm can lead to all sorts of trouble [...]
Recently, I decided to buy a new Smartphone as my previous Nokia E71 was beginning to get old and its battery began to slowly die out. Also, the fact that I recently moved to Guadalajara and wanted to get a mobile line with a local number was a perfect excuse to buy a new phone.
As I’ve written before in part 1 of this article, having a website allows you to collect all sorts of different information about your visitors. I use Google Analytics to do this and have already shared some results from my main [...]
One of the benefits of having a website is being able to get some general information about visitors to your site (such as knowing where they are from and what kind of equipment they’re using to visit) which can give you a glimpse of what people are using out there. There is a myriad of [...]