- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 136. Single Number
Problem description 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 imple
2016-08-18 15:40:47 411
原创 292. Nim Game
Problem description You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the l
2016-08-18 11:21:21 511
原创 371. Sum of Two Integers
Problem description Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example: Given a = 1 and b = 2, return 3. 题目描述 计算两个整数a与b的和,但是你不能使用+、-运算 例子
2016-08-17 16:07:22 808 1
原创 深度学习在NLP中的应用
1. 引言 文本分类这个在NLP领域是一个很普通而应用很广的课题,而且已经有了相当多的研究成果,比如应用很广泛的基于规则特征的SVM分类器,以及加上朴素贝叶斯方法的SVM分类器,当然还有最大熵分类器、基于条件随机场来构建依赖树的分类方法。在传统的文本分类词袋模型中,在将文本转换成文本向量的过程中,往往会造成文本向量维度过大的问题,当然也有其他的压缩了维度的一些分类方法。还有一些是基于人工
2016-08-17 10:57:30 12165 2
原创 338. Counting Bits
Problem description Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and return them as an array. Exam
2016-08-16 17:24:42 1094
原创 344. Reverse String
Problem description Write a function that takes a string as input and returns the string reversed. Example: Given s = "hello", return "olleh". 题目描述: 编写一个函数,输入是一个字符串,输出是该字符串的逆序。 例子: 输入:“Hello”,返
2016-08-16 16:52:27 419
Java开发实战经典(名师讲坛).李兴华
2014-11-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人