原题地址:https://oj.leetcode.com/problems/distinct-subsequences/题意:Given
a stringSand a stringT, count the number of distinct subsequences ofTinS.A
subseq...
分类:
编程语言 时间:
2014-06-06 09:59:43
阅读次数:
330
python中import一个模块时python解释器的搜索目录顺序:参考python帮助文档The
Module Search PathWhen a module namedspamis imported, the interpreter first
searches for a built-in...
分类:
其他好文 时间:
2014-06-06 09:45:30
阅读次数:
250
C#中List.ForEach 方法是对 List 的每个元素执行指定操作。 示例:using
System;using System.Collections.Generic;using System.Linq;using
System.Text;using System.Threading....
分类:
其他好文 时间:
2014-06-06 08:29:39
阅读次数:
470
查看端口占用情况netstat -an|grep LIST|grep 15
数据库监听占用情况。netstat -an|grep 1521 1521为端口号使用如下语句kill占用端口的进程linux下杀掉占用端口的进程ps
-efww|grep appltest|grep -v grep|cut ...
分类:
Web程序 时间:
2014-06-06 08:22:31
阅读次数:
252
原题地址:https://oj.leetcode.com/problems/interleaving-string/题意:Givens1,s2,s3,
find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1...
分类:
编程语言 时间:
2014-06-06 07:26:08
阅读次数:
351
Given a sorted linked list, delete all
duplicates such that each element appear onlyonce.For
example,Given1->1->2, return1->2.Given1->1->2->3->3,
retu...
分类:
其他好文 时间:
2014-06-06 07:00:36
阅读次数:
269
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-06-06 06:57:18
阅读次数:
271
Windows下的Apache+Mysql+Perl/PHP/Python,一组常用来搭建动态网站或者服务器的开源软件,本身都是各自独立的程序,但是因为常被放在一起使用,拥有了越来越高的兼容度,共同组成了一个强大的Web应用程序平台。随着开源潮流的蓬勃发展,开放源代码的LAMP已经与J2EE和.Ne...
分类:
其他好文 时间:
2014-06-06 06:42:57
阅读次数:
525
Given a linked list, reverse the nodes of a
linked list k at a time and return its modified list. If the number of nodes is
not a multiple of k then l...
分类:
其他好文 时间:
2014-06-05 22:13:19
阅读次数:
391
1. 显示所有权限adb shell pm list permissions2. 列出USB
Android设备中的权限列表adb -d shell pm list permissions3. 列出指定Android设备中的权限列表adb -s
emulator-5554 shell pm list...
分类:
移动开发 时间:
2014-06-05 21:26:19
阅读次数:
233