$("#mytable tr").find("td:nth-child(1)") 1表示获取每行的第一列$("#mytable tr").find("td:nth-child(3)") 3表示获取每行的第三列 今天在项目中,刚好用到给指定的table添加一行、删除一行,就直接找google,搜出来的 ...
分类:
Web程序 时间:
2016-06-10 23:02:00
阅读次数:
245
正则基础知识 正则表达式是通过调用re模块实现的 在python里,正则表达式处理对象为字符串,所以正则里方法和字符串的方法有很多相似的地方:re.findall和find,re.split和split,re.sub和replace 普通字符和元字符 普通字符 大多数的字符和字母都为普通字符 元字符 ...
分类:
编程语言 时间:
2016-06-10 17:52:03
阅读次数:
234
windows_25_windows_File_Find 文件查找 // windows_25_windows_File_Find.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include void FindAdv1( LPSTR pszPath,LPSTR... ...
Given a code (not optimized), and necessary inputs, you have to find the output of the code for the inputs. The code is as follows: int a, b, c, d, e, ...
分类:
其他好文 时间:
2016-06-10 12:21:41
阅读次数:
202
题目链接:https://leetcode.com/problems/binary-tree-maximum-path-sum/题目:
Given a binary tree, find the maximum path sum.For this problem, a path is defined as any sequence of nodes from some starting node...
分类:
其他好文 时间:
2016-06-10 11:08:38
阅读次数:
168
Given an integer array, find a subarray with sum closest to zero. Return the indexes of the first number and last number. Given [-3, 1, 1, -3, 5], ret ...
分类:
其他好文 时间:
2016-06-09 22:19:04
阅读次数:
243
问题描述:寻找反转序列中最小的元素。 算法分析:和寻找某个数是一个道理,还是利用二分查找,总体上分两种情况。nums[left]<=nums[mid],else。但是,在截取子序列的时候,有可能得到一个顺序序列。如34512,截取后得到12,此时要对这种情况判断,因为是顺序的,所以,最左边的元素就是 ...
分类:
其他好文 时间:
2016-06-09 15:59:52
阅读次数:
123
一天一道LeetCode
本系列文章已全部上传至我的github,地址:ZeeCoder‘s Github
欢迎大家关注我的新浪微博,我的新浪微博
欢迎转载,转载请注明出处
(一)题目
Given a 2D binary matrix filled with 0’s and 1’s, find the largest rectangle containing all ones a...
分类:
其他好文 时间:
2016-06-09 00:48:53
阅读次数:
119
第一种,被调用脚本函数为static类型,调用时直接用 脚本名.函数名()第二种,GameObject.Find("脚本所在的物体的名字").SendMessage("函数名"); //能调用public和private类型函数第三种,GameObject.Find("脚本所在的物体的名字").Ge ...
分类:
编程语言 时间:
2016-06-09 00:39:57
阅读次数:
444