算法
plock
coding...享受思维的跳跃
展开
-
堆排序 java
一个简单的堆排序 ---源代码 public class heapify { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("hellow"); int a[]={2,1,4,6,3,7,5}; heapSort(a,a.length原创 2013-10-11 10:10:58 · 603 阅读 · 0 评论 -
jq对表格统计
Document function sumOfColumns(elem) { var total = 0; $(elem).find("tr").each(function(){ var t=0; var num1=$(this).children("td:nth-child("+2+")").html(); var num2=$(this).children(原创 2014-03-28 13:19:15 · 1072 阅读 · 0 评论