- 博客(4)
- 资源 (2)
- 问答 (2)
- 收藏
- 关注
转载 HTTP常见错误代码
一些常见的状态码为: 200 - 服务器成功返回网页 404 - 请求的网页不存在 503 - 服务不可用 详细分解: 1xx(临时响应) 表示临时响应并需要请求者继续执行操作的状态代码。 代码 说明 100 (继续) 请求者应当继续提出请求。服务器返回此代码表示已收到请求的第一部分,正在等待其余部分。 101 (切换协议) 请求者已要求服务器切换协议,服务器已确认并准备切换。 2xx (成功)...
2017-06-29 16:21:53 395
原创 快速排序法
/** * 快速排序法 * 其时间复杂度为O(NlogN) * @author Sailing * */ public class QuickSort { static int [] intArray = {9,4,3,7,2,9,1,3,8,5}; public static void quicksort(int left,int right){ //设置递归出口 i...
2017-06-21 00:12:50 182
原创 冒泡排序法
/** * 冒泡排序法 * @author Sailing * */ public class BubbleSort { /** * 可以看到,对于n个数,冒泡排序法完成所有的排序需要 n*(n-1)/2,它的时间复杂度为 O(n*(n-1)/2) * 如果n过于大,那么此时 0.5可以忽略掉,即冒泡排序法的时间复杂度为 O(N^2) * @param args * @...
2017-06-21 00:10:21 236
原创 简单的桶排序法
/** * 简单的桶排序法 * @author Sailing * */ public class SimpleBucketSort { public static void main(String[] args) { new SimpleBucketSort().letsSort(new SimpleBucketSort().getSomeNumber()); } /** ...
2017-06-21 00:09:31 265
LinuxCommandLine中英文[快乐的linux命令行]
2018-09-21
ActiveMQ,使用设置监听的方式异步获取消息
2016-12-19
Ext itemeselect组件如何获取右边的值
2016-10-14
TA创建的收藏夹 TA关注的收藏夹
TA关注的人