Been studying some good ol' data structures, but before taking on the subject, I needed some sauce. I have been wanting to get on the smart_ptr wagon ever since boost introduced them. And then this blog post by Herb Sutter So to get on the unique_ptr bandwagon I
Problem Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place? Analysis I have one problem basically... it does not specify if is Clockwise or Counterclockwise. Guess
I am reading "Cracking the Coding interview" and doing some exercises I began coding a algorithm to find is a string is permutation of another. I found that the first implementation I did was completely wrong since I was taking repeated characters as one. The wrong version So there I
Disclaimer: The following is pure comedy :D Today I realized that asking in a job interview "Do you use game guides or faqs when playing a videogame?" is an excellent question... here's why: "So... Do you use game guides or faqs when playing a videogame?" Dude, Faqs are for the
Don't Worry Banging your head againts the desk is just as effective as any other thing. Keep pushing forward.
Unit Testing Testing is essential. The worst part of not having a team that believes unit testing is essential for production is mostly that you'll be on your own when designing each test. Most tests are procedural, having parts that will repeat in concept but may differ a little in
Migrating to a new computer is tough. This was the general setup for my new computer: Prepare dual boot of Windows 8.1 and Ubuntu 14.04 LTS Setup TeX development environment in Windows. Setup C++11 in Ubuntu Setup Cygwin in Windows Setup an external hard drive for file