档案日期2015的49

2015年12月7日 - 2015年12月13日

[LeetCode]Remove Duplicate Letters

题目描述:

Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your result is the smallest in lexicographical order among all possible results.

Example:

Given "bcabc" ...

继续阅读

使用amCharts展示实时数据

代码参考:http://jsfiddle.net/amcharts/ATQUm/

JavaScript代码:

var chart;
var chartData = [];
var chartCursor;
var day = 0;
var firstDate = new Date();
firstDate.setDate(firstDate.getDate() - 500);

// generate some random data, quite different range
function generateChartData() {
    for (day = 0; day < 50 ...

继续阅读

每日归档

上周

下周

归档