Skip to content

Instantly share code, notes, and snippets.

View khult's full-sized avatar

Kristofer Hult khult

View GitHub Profile
//Kristofer Hult
//Algorithms Project 4
package sudokuSolver;
import java.util.*;
import java.io.*;
public class sudokuSolver {
private static int[][] board;
/* Combine Tables by Kristofer Hult */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// how many characters can be used on each line
#define LINE_LEN 200
// Removes /n from a string.
void trim(char *string)
{
@khult
khult / Arrays and Matrices
Created June 22, 2015 23:52
Scala Assignments - Note not all are fully functional
//==================================================
//
// Homework 2, Part B
//
// Name: Kristofer Hult
//
//==================================================
//================================================
@khult
khult / Exponential
Created June 22, 2015 23:47
Assembly Language - note some programs are not 100% functional
##Kristofer Hult
##Homework 3
##Part 2
##Compute e to the x
.data
str1: .asciiz "Give a number X "
nline: .asciiz "\n"
result1: .asciiz " e raised to equals"
@khult
khult / Vigner Cipher
Created June 22, 2015 23:40
Simple Vigner Cipher in Python
##Kristofer Hult, Computer Security HW1
from string import punctuation
Begin = 97
Finish = 122
def askKey():
key = input("What would you like to set for your key?: ")
return key.lower()
def getPlaintext():
plaintext = input("Please enter text to be encrypted: ")
return plaintext
@khult
khult / Data Graphing
Created June 22, 2015 23:35
Python Homework Assignments
'''
There should be several functions in this module. Several are
already provided, in case they are useful:
datextract
eightdigs
fieldict
citypop
eventfreq
manuftop10