Implement hashtable
Anonymous
public class Hashtable { private LinkedList storage; int n; public Hashtable(int n) { storage = new LinkedList(n); this.n = n; } public put(int elm) { Integer i = new Integer(5); int tmp = i.hasCode(); int key = tmp%n; } }
Check out your Company Bowl for anonymous work chats.