Skip to content

Instantly share code, notes, and snippets.

View csgregorian's full-sized avatar
🔥
git reset --hard

Christopher Gregorian csgregorian

🔥
git reset --hard
View GitHub Profile
import java.util.*;
public class HashTable<T> {
private ArrayList<LinkedList<T>> table;
private int size, maxSize;
private double maxLoad;
public HashTable() {
def max_contiguous_subarray(array):
max_so_far = array[0]
max_at_ending = array[0]
for i in array:
max_at_ending = max(max_so_far + i, i)
max_so_far = max(max_at_ending, max_so_far)
return max_so_far
# Author: Christopher Gregorian
# Website: csgregorian.com
# Name: Legend of Zelda: Link to the Present
# Completed: 03:18 AM, June 16th, 2014
# # # Imports # # #
# # Built-Ins # #
import sys
import os
{"speed": 50"}