This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Stack; | |
/* An iterative approach to the Tower of Hanoi puzzle. Uses | |
* 3 stacks as a representation to replace the recursive method | |
* and approaches all possible legal moves between every peg | |
* combination at any point in the puzzle. | |
* | |
* @author James Earle | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
TBS_Home.html | |
COSC 2P89, Fall Semester | |
James Earle, 5017843 | |
Tuesday, October 22, 2013 | |
--> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title> The Branch Store Home </title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Medium | |
9 5 0 4 8 1 7 6 3 | |
4 8 7 2 6 0 9 1 5 | |
1 6 3 9 5 7 2 8 4 | |
5 2 8 1 0 6 4 3 9 | |
7 9 1 3 4 0 5 0 6 | |
3 4 0 5 9 2 8 7 1 | |
0 7 9 8 1 4 3 5 2 | |
2 0 4 0 0 5 0 9 8 | |
8 3 5 6 2 9 1 4 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with | |
Ada.Text_IO, | |
Ada.Strings, | |
Ada.Strings.Fixed, | |
RATIONALS; | |
use | |
Ada.Text_IO, | |
Ada.Strings, | |
Ada.Strings.Fixed, | |
RATIONALS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/php | |
<?php | |
// $con = DB CONNECTION HERE. Removed for security purposes. | |
if (array_key_exists('isThread',$_POST)) { | |
//We're coming from "Threads.php" get top value | |
if (array_key_exists('topPerc',$_POST)) { | |
$selectedPost = 'topPerc'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with | |
Ada.Text_IO, | |
Ada.Strings, | |
linkedlist; | |
use | |
Ada.Text_IO, | |
Ada.Strings; | |
------------------------------------------------------------------------ | |
-- Author - James Earle, Std. #5017843 | |
-- Email - je11zi@brocku.ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Date: March 21st, 2014 | |
* Author: James Earle, 5017843 | |
* Email: je11zi@brocku.ca | |
* | |
* COSC 2P91 - Procedural Programming | |
* Assign. 2, Section 3: Solving Tricky Equations | |
* | |
* The program below will read in user input for the | |
* value of a, computing a*x and sin(x), and using |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Date: March 21st, 2014 | |
* Author: James Earle, 5017843 | |
* Email: je11zi@brocku.ca | |
* | |
* COSC 2P91 - Procedural Programming | |
* Assign. 2, Section 2: Modelling Electronic Circuits | |
* | |
* The program below will read from file and simulate | |
* the effects of a Wheatstone Bridge, outputting the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% James Earle - je11zi@brocku.ca | |
% 5017843 | |
% | |
% COSC 2P93 - Winter, 2014 | |
% Assignment | |
% Question #1 | |
% List of cities altered in accordance with question #5 | |
cities([liverpool,preston,lancaster,carlisle,manchester,leeds, | |
toronto,brampton,markham,mississauga, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Bucket is used to store a number of Nodes, limit specified | |
* by user, in an array. To be be accessed and used through | |
* extendible hashing. | |
* | |
* @author James Earle <je11zi@brocku.ca> | |
* @version 1.0 | |
* @since 2013-12-02 | |
*/ | |
public class Bucket { | |
OlderNewer