11 2016 档案

摘要:题目 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or anothe 阅读全文
posted @ 2016-11-30 22:07 bubbleStar 阅读(235) 评论(0) 推荐(0)
摘要:最近在跟着demo学习微信小程序,却卡在了第一步请求豆瓣电影api上,折腾了很久,代码如下: 原来是开发工具升级后,请求的header的Content-type写法变了(我现在使用的开发工具版本为0.11),需要改为 这样就可以正常请求了 阅读全文
posted @ 2016-11-25 23:46 bubbleStar 阅读(11497) 评论(12) 推荐(13)
摘要:总结下这几日用echarts库作基本图形遇到的一些问题。 echarts快速上手可参考官网: http://echarts.baidu.com/tutorial.html#5%20%E5%88%86%E9%92%9F%E4%B8%8A%E6%89%8B%20ECharts 在作柱形图时,如果需要给每 阅读全文
posted @ 2016-11-16 16:39 bubbleStar 阅读(61771) 评论(2) 推荐(3)
摘要:Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文
posted @ 2016-11-15 11:51 bubbleStar 阅读(230) 评论(0) 推荐(0)
摘要:在做项目的过程中遇到要将form表单提交转为ajax方式提交,下面是我总结的如何把form表单提交无缝转为ajax方式提交的方法。 原先的form表单长这样: 要转化为ajax方式提交,需要做以下几个改变: 1. 将form元素的属性action和method去掉,添加id="myForm",for 阅读全文
posted @ 2016-11-13 23:32 bubbleStar 阅读(48510) 评论(1) 推荐(0)
摘要:Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l 阅读全文
posted @ 2016-11-09 21:19 bubbleStar 阅读(157) 评论(0) 推荐(0)
摘要:Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l 阅读全文
posted @ 2016-11-09 19:59 bubbleStar 阅读(141) 评论(0) 推荐(0)