Preparing for Technical Interviews

1) Go through this book:
Cracking the Coding Interview: 189 Programming Questions and Solutions on Amazon
It has a good overview of topics to know (even if it just serves as a reminder for some of it).  A lot of the questions or some variant on them get used in real technical interviews. Solutions are here.

2) Do practice problems on these websites:
http://www.careercup.com/page
http://www.geeksforgeeks.org
http://www.glassdoor.com/Interview/index.htm
https://leetcode.com

3) Use these timed competitions as practice:
http://community.topcoder.com/longcontest/?module=ViewPractice
http://apps.topcoder.com/wiki/display/tc/Algorithm+Overview

4) There are good courses out there for algorithms. I watched the 2005 MIT Algorithms Video Lectures and some of the 2011 class.
http://videolectures.net/mit6046jf05_introduction_algorithms/
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-fall-2011/lecture-videos/
https://www.khanacademy.org/computing/computer-science/algorithms

5) These courses on coursera are good too.
You can just usually “preview” them to see the course content.
https://www.coursera.org/course/algo
https://www.coursera.org/course/algo2
https://www.coursera.org/course/algs4partI
https://www.coursera.org/course/algs4partII

6) Other good Algorithms books
Introduction to Algorithms, 3rd Edition (MIT Press) on Amazon
Algorithms (4th Edition) on Amazon – (online version)

7) Top Coder Algorithms Tutorials

Build and Install latest OpenCV with CUDA 6.5 on an AWS GPU instance with Ubuntu 14.04

Directions for installing Cuda 6.5 on AWS GPU Instance is here: http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/

Install all the necessary packages to build opencv:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential git cmake cmake-curses-gui zlib1g-dev libeigen3-dev

sudo apt-get install checkinstall pkg-config yasm libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils

Make the necessary source and build folders:
(I assume you are using bash here)
export todaysdate=`date "+%Y%m%d"`
mkdir opencvsrc$todaysdate
mkdir opencvbld$todaysdate

Download the opencv source:
cd opencvsrc$todaysdate
git clone https://github.com/Itseez/opencv.git

Go into the build directory and use ccmake to configure your build.
cd ../opencvbld$todaysdate
ccmake ../opencvsrc$todaysdate/opencv

Hit ‘c’ to configure and then change these variables by moving to that line and hitting Enter.

BUILD_EXAMPLES ON
INSTALL_C_EXAMPLES ON
INSTALL_TESTS ON
WITH_NVCUVID ON

Hit ‘c’ to configure
Hit ‘g’ to generate

Now build and install opencv.
make
sudo make install

For getting test data and running tests on that data do this:
cd
git clone git://github.com/Itseez/opencv_extra.git
export OPENCV_TEST_DATA_PATH=/home/ubuntu/opencv_extra/testdata/
/usr/local/bin/opencv_test_video

Lots of tests are in /usr/local/bin

If you just want to use my public AMI with the OpenCV source from March 25,2015 it is here (for US-East): ami-fa200b92