上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页

2016年2月23日

从机器学习谈起

摘要: 转载自http://www.cnblogs.com/subconscious/p/4107357.html 从机器学习谈起 在本篇文章中,我将对机器学习做个概要的介绍。本文的目的是能让即便完全不了解机器学习的人也能了解机器学习,并且上手相关的实践。这篇文档也算是EasyPR开发的番外篇,从这里开始, 阅读全文

posted @ 2016-02-23 21:48 walkwalkwalk 阅读(996) 评论(0) 推荐(1) 编辑

Sum Root to Leaf Numbers

摘要: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic 阅读全文

posted @ 2016-02-23 17:02 walkwalkwalk 阅读(146) 评论(0) 推荐(0) 编辑

Same Tree

摘要: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical a 阅读全文

posted @ 2016-02-23 15:47 walkwalkwalk 阅读(198) 评论(0) 推荐(0) 编辑

2016年2月22日

Increasing Triplet Subsequence

摘要: Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Return true if 阅读全文

posted @ 2016-02-22 17:23 walkwalkwalk 阅读(184) 评论(0) 推荐(0) 编辑

Serialize and Deserialize Binary Tree

摘要: Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or 阅读全文

posted @ 2016-02-22 15:48 walkwalkwalk 阅读(179) 评论(0) 推荐(0) 编辑

2016年2月8日

Unique Binary Search Trees

摘要: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are a total of 5 unique BST' 阅读全文

posted @ 2016-02-08 16:27 walkwalkwalk 阅读(186) 评论(0) 推荐(0) 编辑

Validate Binary Search Tree

摘要: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only 阅读全文

posted @ 2016-02-08 16:07 walkwalkwalk 阅读(131) 评论(0) 推荐(0) 编辑

2016年2月7日

Pow(x, n)

摘要: Implement pow(x, n). class Solution { public: double myPow(double x, int n) { // Start typing your C/C++ solution below // DO NOT write int main() fun 阅读全文

posted @ 2016-02-07 18:02 walkwalkwalk 阅读(205) 评论(0) 推荐(0) 编辑

Permutations II

摘要: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example,[1,1,2] have the following unique pe 阅读全文

posted @ 2016-02-07 17:44 walkwalkwalk 阅读(190) 评论(0) 推荐(0) 编辑

Permutations

摘要: Given a collection of distinct numbers, return all possible permutations. For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3 阅读全文

posted @ 2016-02-07 17:43 walkwalkwalk 阅读(230) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页

导航