摘要: ```java /** * Created by root on 16-3-11. */ import java.lang.Math; public class QuadraticProbingHashTable { private static int DEFAULT_TABLE_SIZE = 11; //fields private int currentSiz... 阅读全文
posted @ 2016-03-11 12:18 Salaku 阅读(332) 评论(0) 推荐(0) 编辑
摘要: ```python import math def nextPrime(n): m=int(math.sqrt(n)) def isPrime(x,y): if(y==1): return True elif(x%y==0): return False else: ... 阅读全文
posted @ 2016-03-11 10:01 Salaku 阅读(617) 评论(0) 推荐(0) 编辑