Chinaunix首页 | 论坛 | 博客
  • 博客访问: 256463
  • 博文数量: 170
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1709
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-06 18:01
文章分类

全部博文(170)

文章存档

2016年(11)

2015年(130)

2014年(29)

发布时间:2015-03-29 12:04:55

There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).1.注意:M+N是偶数时要求平均值。2.并且用起始位置和个数来表示数组。3.求第K个值,我们不断在两个数组平分k来进行计算,去掉小的那个数组。4.........【阅读全文】

阅读(574) | 评论(0) | 转发(0)

发布时间:2015-03-28 14:20:55

      由于工作的关系,开始接触机器学习这个技术领域,虽然自己的工作看似和机器学习关系不大,但是利用机器学习进行大数据的分析却是至关重要的。因此从今天开始自己再开始一个关于“机器学习”的系列笔记,将主要记录整理自己学习的收获。今天是对于机器学习的一个基本的介绍。一、什么是机器.........【阅读全文】

阅读(961) | 评论(0) | 转发(0)

发布时间:2015-03-28 12:15:28

一、HTTP状态码 如果某项请求发送到您的服务器要求显示您网站上的某个网页(例如,用户通过浏览器访问您的网页或 Googlebot 抓取网页时),服务器将会返回 HTTP 状态代码以响应请求。 此状态代码提供关于请求状态的信息, 告诉 Googlebot 关于您的网站和请求的网页的信息。一些常见的状态.........【阅读全文】

阅读(1166) | 评论(0) | 转发(0)

发布时间:2015-03-28 11:53:11

//Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the length of 1.注意:使用数组保存前面的没有出现的字.........【阅读全文】

阅读(1508) | 评论(0) | 转发(0)

发布时间:2015-03-27 20:35:48

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)Output: 7 -> 0 -> 8 public Lis.........【阅读全文】

阅读(432) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册