自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 判断“资源字符串”是否可以构成“目标字符串”

题目:Ransom Note描述:Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the ransom note can be constructed from th

2016-10-30 21:56:39 945

原创 删除单向链表中的某个节点

题目:Delete Node in a linked List描述:Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 -> 4 and you are

2016-10-30 20:15:50 10905 3

原创 求二叉树的所有末级左节点的值的和

题目:Sum of Leaves描述:Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7There are two left leaves in the binary tree, with values 9 and 15 resp

2016-10-30 19:38:20 699

原创 将数组中的0全部移动到末尾

题目:Move Zeroes描述:Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements. For example, given nums = [0, 1, 0, 3, 12], afte

2016-10-30 15:12:50 18019 6

原创 反转二叉树

题目:Invert Binary Tree描述:invert binary tree: 4 / \ 2 7 / \ / \ 1 3 6 9 to 4 / \ 7 2 / \ / \ 9 6 3 1翻译:将二叉树的左边和右边进行置换答案:/** * Definition for a b

2016-10-30 10:54:45 850

原创 二叉树的深度

题目:Maximum Depth of Binary Tree题目详情:Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.翻译:有一

2016-10-23 15:10:01 351

原创 寻找数组中唯一的数

题目:Single Number题目详情:Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it

2016-10-23 14:34:12 2330

原创 输入整数,返回数组,并代替某些位置的数

题目:Fizz Buzz题目详情:Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the number and for the multiples of five o

2016-10-23 13:47:59 407

原创 字符串反序输出

题目:Reverse StringWrite a function that takes a string as input and returns the string reversed. Example: Given s = “hello”, return “olleh”. 答案:public class Solution { public String reverseString(

2016-10-23 13:23:50 3144

机器学习导论

本书对机器学习的定义和应用实例进行了介绍,涵盖了监督学习、贝叶斯决策理论、参数方法、多元方法、维度归约、聚类、非参数方法、决策树、线性判别式、多层感知器、局部模型、隐马尔可夫模型、分类算法评估和比较、组合多学习器以及增强学习等。最新的第2版增加了三章内容,分别是核机器、图模型、贝叶斯估计,扩展了统计测试的内容,教学案例可以从本书配套网站下载。 机器学习的目标是对计算机编程,以便使用样本数据或以往的经验来解决给定的问题。机器学习已经有许多成功应用,包括分析以往销售数据来预测客户行为,优化机器人的行为以便使用最少的资源来完成任务,以及从生物信息数据中提取知识的各种系统。本书是关于机器学习这一主题内容全面的教科书,涵盖了通常在机器学习导论中并不包括的广泛题材。为了对机器学习问题和解进行统一的论述,本书讨论了源自不同领域的多种方法,包括统计学、模式识别、神经网络、人工智能、信号处理、控制和数据挖掘。书中对所有学习算法都进行了解释,以便读者可以轻易地将书中的公式转变为计算机程序。本书可用作高年级本科生或硕士研究生的教材,也可作为关注机器学习方法应用的专业

2018-03-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除