C++ || Yahoo! Sports – Current Batting Order – Programming Interview Test (Question 3 of 3)

The following is sample code which demonstrates a solution to the Yahoo! Sports programming interview question titled “Current Batting Order.” The test was taken on November 2013 for educational More »

C++ || Knapsack Problem Using Dynamic Programming

The following is another homework assignment which was presented in an Algorithm Engineering class. Using a custom timer class, the following is a program which reduces the problem of More »

C++ || Multi Process Server & Client Hash Table Using Thread Pools, Message Queues, & Signal Handlers

The following is another homework assignment which was presented in an Operating Systems Concepts class. Using commandline arguments, the following is a program which implements a multi threaded hash More »

Python || Aku Aku Snake Game Using Pygame

The following is another homework assignment which was presented in an Introduction to Game Design and Production class. This project is an implementation of the classic “Snake” game using More »

Python || Brainy Memory Game Using Pygame

The following is another homework assignment which was presented in an Introduction to Game Design and Production class. This project is an implementation of the classic “Memory” game using More »

 

C++ || Snippet – Custom “Shuffle” Function For Arrays

The following is a custom “Shuffle” function which shuffles the contents of an array. This function rearranges each item within the array

C++ || Snippet – Custom “For Each” Iterator Function For Arrays

A “For Each” algorithm is a function that iterates over all the elements contained in a storage collection, and calls a separate

Java || Simple Tic Tac Toe Game Sample Code GUI

The following is another homework assignment which was presented in an intro to Java class. This program was used to provide more

C++ || Custom Template Hash Map With Iterator Using Separate Chaining

Before we get into the code, what is a Hash Map? Simply put, a Hash Map is an extension of a Hash

Python || Count The Total Number Of Characters, Vowels, & UPPERCASE Letters Contained In A Sentence Using A ‘For Loop’

Here is a simple program, which demonstrates more practice using the input/output mechanisms which are available in Python. This program will prompt

Python || Snippet – How To Input Numbers Into A List & Display Its Contents Back To User

This snippet demonstrates how to place numbers into a list. It also shows how to display the contents of the list back

Python || Using If Statements & String Variables

As previously mentioned, you can use “int” and “float” to represent numbers, but what if you want to store letters? Strings help

Python || Simple Math Using Int & Float

This page will display the use of int and float data types. Since python is a flexible programming language, variable data types

Python || Hello World!

This page will consist of creating the typical “hello world!” application. First, open a text editor and save the file as “HelloWorld.py“.

Python || Which Interpreter To Use?

Unlike compiled programming languages such as C, C++ or Java, Python is an interpreted language. Since this is the case, the type

C++ || Snippet – How To Display The Current Working Directory

The following is sample code which demonstrates how to display the current working directory of the program when its properties were initialized.

C++ || Snippet – How To Convert A Decimal Number Into Binary

This page will demonstrate how to convert a decimal number (i.e a whole number) into its binary equivalent. So for example, if

C++ || Simple Spell Checker Using A Hash Table

  Click Here For Updated Version Of Program The following is another programming assignment which was presented in a C++ Data Structures

C++ || Custom Template Hash Table With Iterator Using Separate Chaining

Looking for sample code for a Hash Map? Click here! Before we get into the code, what is a Hash Table? Simply