摘要:
Problem:https://leetcode.com/problems/substring-with-concatenation-of-all-words/You are given a string,s, and a list of words,words, that are all of t... 阅读全文
摘要:
mkdir testmv test.html testphp -S localhost:8082http://localhost:8082/test.html 阅读全文
摘要:
How to uncommit files that were committed long time a ago?Note: Since all changes in the current working directory are very important, they should not... 阅读全文
摘要:
Online test Regexhttp://rubular.comAn examplesrc="http:\/\/localhost:3000\/preveiw-tool\/iphone5-web\/b\/?node=706814011"src[/.*preveiw-tool\/([^\/]*)... 阅读全文
摘要:
D3 JSJava scirpt is an awesome language for Internface Design.All Obejcts in JavaScirpt could be used as an argument to pass around.Important Objects:... 阅读全文
摘要:
The problem:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are s... 阅读全文
摘要:
The problem:Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.My analysis:The idea behind ... 阅读全文
摘要:
The problem:Given node P and node Q in a binary tree T.Find out the lowest common ancestor of the two nodes.Analysis:The answer of this problem could ... 阅读全文
摘要:
The problem:Given an array of sizen, find the majority element. The majority element is the element that appears more than⌊ n/2 ⌋times.You may assume ... 阅读全文
摘要:
The problem:Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return... 阅读全文