上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 72 下一页
摘要: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or 阅读全文
posted @ 2018-05-03 22:20 乐乐章 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Implement int sqrt(int x). Compute and return the square root of x, where x is guaranteed to be a non-negative integer. Since the return type is an in 阅读全文
posted @ 2018-05-03 22:11 乐乐章 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 直接在jieba中设置并行并不能真正的并行。所以 用joblib进行并行分词。 源文件有4列 阅读全文
posted @ 2018-04-28 14:52 乐乐章 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 算法: 0:把所有的点按照横坐标排序 1:用一条竖直的线L将所有的点分成两等份 2:递归算出左半部分的最近两点距离d1,右半部分的最近两点距离d2,取d=min(d1,d2) 3:算出“一个在左半部分,另一个在右半部分”这样的点对的最短距离d3。 4:结果=min(d1,d2,d3) 关键就是这第3 阅读全文
posted @ 2018-04-24 20:18 乐乐章 阅读(2838) 评论(0) 推荐(0) 编辑
摘要: 介绍项目: 局部敏感哈希? 如何做召回? 如何用模型做对话系统? 背诵题: 什么是卷积? 什么是窄卷积,什么是宽卷积?(没答上来,,,日了狗了!!!) 补零(Zero-padding):补零也叫宽卷积,不补零就叫窄卷积。 xgb gbdt rf adaboost 之间的区别联系? relu 与sig 阅读全文
posted @ 2018-04-24 20:12 乐乐章 阅读(269) 评论(0) 推荐(0) 编辑
摘要: Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: Each of the digits 1-9 阅读全文
posted @ 2018-04-23 10:39 乐乐章 阅读(327) 评论(0) 推荐(0) 编辑
摘要: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. The n-queens puzzle is the prob 阅读全文
posted @ 2018-04-23 09:20 乐乐章 阅读(151) 评论(0) 推荐(0) 编辑
摘要: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all 阅读全文
posted @ 2018-04-23 09:06 乐乐章 阅读(120) 评论(0) 推荐(0) 编辑
摘要: The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total num 阅读全文
posted @ 2018-04-22 18:50 乐乐章 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ 阅读全文
posted @ 2018-04-22 17:22 乐乐章 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 72 下一页