原创 網站下的robots

    面試某軟,被面試官問道:你做爬蟲,知不知道很多網站下都有個robots文件?     答曰:不知。     於是面試官給我演示了一遍~     遂卒。首戰慘敗。     下來查了維基百科,基本瞭解robots。https

原创 [LeetCode] Add Digits

Add Digits Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Fo

原创 [LeetCode] Binary Tree Paths

Binary Tree Paths   Given a binary tree, return all root-to-leaf paths. For example, given the following binary tr

原创 [LeetCode] Group Anagrams

Group Anagrams Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate",

原创 京東城市時空數據引擎—JUST 如何通過軌跡數據恢復小區路網

雙十一將至,又到了網購的狂歡季!伴隨互聯網的高速發展,中國電子商務交易總額已從2008年的3.14萬億元增長至2018年的31.63萬億元,網上零售規模從0.13萬億元猛增到9萬億元,中國已成爲名副其實的“全球第一大網絡零售大國”。 與之

原创 [LeetCode] N-Queens

N-Queens The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack

原创 [LeetCode] Text Justification

Text Justification Given an array of words and a length L, format the text such that each line has exactly L charact

原创 [LeetCode] Gas Station

Gas Station There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You ha

原创 [LeetCode] Missing Number

Missing Number Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missin

原创 [LeetCode] N-Queens II

N-Queens II   Follow up for N-Queens problem. Now, instead outputting board configurations, return the total numb

原创 揭祕京東城市時空數據引擎—JUST如何助力交通流量預測

    2014年跨年夜上海外灘災難性踩踏事件,使得公共安全問題受到了全體社會的廣泛關注。解決這一問題的很重要一項工作就是:如何實時監控和快速預測城市中每個地方的人流量。當某個地方的人流量超過給定的值或者有超過給定值的趨勢時,相關部門能及

原创 [LeetCode] Merge Intervals

Merge Intervals Given a collection of intervals, merge all overlapping intervals. For example, Given [1,3],[2,6],[8

原创 [LeetCode] Different Ways to Add Parentheses

Different Ways to Add Parentheses Given a string of numbers and operators, return all possible results from computin

原创 [LeetCode] Single Number III

Single Number III Given an array of numbers nums, in which exactly two elements appear only once and all the other

原创 [LeetCode] Ugly Number

Ugly Number Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers wh