This site features a collection of common technical interview questions gathered by a group of programmers who have been through, and given, lots of technical interviews. There is an emphasis on C++ and game programming technical interviews, but most of the questions are relevant to any technical interview.
The Linguist

Pick two programming languages and discuss the differences between them. Talk about their relative pros and cons and give an example of an application that each language would be well suited for using for development. Explain why.

Tic Tac Toe AI

Imagine you have to write a Tic-Tac-Toe game in which a human player plays against the computer. Discuss the different ways in which you could implement the computer’s artificial intelligence for the game. Which method would you ultimately choose? And why?

Implement itoa

Implement the standard I/O function itoa(). The itoa() function constructs a string representation of an integer. The parameters are:

value: the integer to be converted to string representation.
string: points to the buffer that is to hold resulting string.
radix: is the base of the number; must be in the range 2 – 36.

char *itoa(int value, char *string, int radix)
{
Programming Interviews Exposed
This book teaches you critical interviewing skills such as how to ask effective questions, how to best approach a problem, and what to do when you get stuck. Integrated throughout the book are problems taken from real interviews at top computer companies, followed by an in-depth analysis and explanation of the thought process leading to solutions.
Remove Duplicates

Write a function to remove duplicate entries from a sorted array.

void RemoveDuplicates(int *pArray,int arraySize)
{
Words by String Reverse

Similar to the classic reverseString and reverseWords questions, this variation is to write a function that will reverse a string by words. For example, calling the function with the string “reverse this string by words” would return the string as “words by string this reverse”.

void reverseStringbyWords(char *aString)
{
Do you have a technical interview question you would like to submit? Some tips you would like to pass on? Just want to say hi? Feel free to contact us