上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: a... 阅读全文
posted @ 2015-01-26 16:40 mrpod2g 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.public class Solution { pu... 阅读全文
posted @ 2015-01-25 20:20 mrpod2g 阅读(86) 评论(0) 推荐(0) 编辑
摘要: Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ... 阅读全文
posted @ 2015-01-20 18:02 mrpod2g 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Compare two version numbersversion1andversion2.Ifversion1>version2return 1, ifversion1first2){ return 1; } else if(first1<fir... 阅读全文
posted @ 2015-01-20 10:02 mrpod2g 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes... 阅读全文
posted @ 2015-01-17 15:34 mrpod2g 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->... 阅读全文
posted @ 2015-01-13 17:01 mrpod2g 阅读(114) 评论(0) 推荐(0) 编辑
摘要: A peak element is an element that is greater than its neighbors.Given an input array wherenum[i] ≠ num[i+1], find a peak element and return its index.... 阅读全文
posted @ 2015-01-11 22:50 mrpod2g 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一、Min-max标准化min-max标准化方法是对原始数据进行线性变换。设minA和maxA分别为属性A的最小值和最大值,将A的一个原始值x通过min-max标准化映射成在区间[0,1]中的值x',其公式为:新数据=(原数据-极小值)/(极大值-极小值)。二、z-score标准化这种方法基于原始数... 阅读全文
posted @ 2015-01-10 14:49 mrpod2g 阅读(351) 评论(0) 推荐(0) 编辑
摘要: Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the ... 阅读全文
posted @ 2015-01-07 23:50 mrpod2g 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 最近一直帮老板写爬虫,写累了就寻思着找点乐子,碰巧平时喜欢逛豆瓣,就打算写一个自动回帖机器人,废话不多说我们进入正题:主要用到2个开源工具:Jsoup和httpclientStep 1:模拟登陆public static boolean login() throws IOException{ ... 阅读全文
posted @ 2014-12-21 11:49 mrpod2g 阅读(869) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页