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.*; | |
public class HashTable<T> { | |
private ArrayList<LinkedList<T>> table; | |
private int size, maxSize; | |
private double maxLoad; | |
public HashTable() { |
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
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 | |
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
# 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 |
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
{"speed": 50"} |
OlderNewer