上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 72 下一页
摘要: Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime com 阅读全文
posted @ 2018-05-04 09:17 乐乐章 阅读(304) 评论(0) 推荐(0)
摘要: 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 乐乐章 阅读(298) 评论(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 乐乐章 阅读(256) 评论(0) 推荐(0)
摘要: 直接在jieba中设置并行并不能真正的并行。所以 用joblib进行并行分词。 源文件有4列 阅读全文
posted @ 2018-04-28 14:52 乐乐章 阅读(410) 评论(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 乐乐章 阅读(2966) 评论(0) 推荐(0)
摘要: 介绍项目: 局部敏感哈希? 如何做召回? 如何用模型做对话系统? 背诵题: 什么是卷积? 什么是窄卷积,什么是宽卷积?(没答上来,,,日了狗了!!!) 补零(Zero-padding):补零也叫宽卷积,不补零就叫窄卷积。 xgb gbdt rf adaboost 之间的区别联系? relu 与sig 阅读全文
posted @ 2018-04-24 20:12 乐乐章 阅读(347) 评论(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 乐乐章 阅读(344) 评论(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 乐乐章 阅读(164) 评论(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 乐乐章 阅读(131) 评论(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 乐乐章 阅读(171) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 72 下一页