- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 算法系列(10)LeetCode520 Detect Capital
嘿嘿,刷题刷个520~~ Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of the following cases holds:
2017-11-28 10:01:47 162
原创 算法系列(9) LeetCode256
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has o
2017-11-28 09:49:10 454
原创 力导向图知识图谱可视化(节点可点击)
用d3.js的力导向图写了一个知识图谱可视化的demo,节点可点击着实费了我不少功夫,如果小伙伴有更简单的方法还求留言呢~ 由于数据市实验室的某项目,不太好直接贴出来,反正这样的格式就好:反正是给大家参考的~ { name: "name", type: 0 } 专题服务 var nodes = [
2017-11-27 15:07:55 11132 16
原创 算法系列(8)LeetCode389
389. Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at a random position. Find the letter
2017-11-26 21:54:00 152
原创 node.js 之 express框架+MongoDB(前端使用vue)
1. 下载安装node环境,Mac、linux、windows各不相同 2. 安装后输入: node -v查看,出现版本号则安装成功 3. 打开terminal,安装express框架,(为了更快速,更易安装成功,建议先安装淘宝镜像,使用cnpm) 淘宝镜像地址:http://npm.taobao.org/mirrors/node 4. 开始安装cnpm install -g expres
2017-11-17 14:32:42 3599
原创 算法系列(7)leetcode 206
Reverse a singly linked list. /** * Definition for singly-linked list. * function ListNode(val) { * this.val = val; * this.next = null; * } */ /** * @param {ListNode} head * @return {
2017-11-11 16:57:00 152
原创 Mac 搭建Neo4j环境
Neo4j在windows系统直接exe文件即可使用,在Mac中,1. 下载:https://neo4j.com/download/other-releases/下载linux、Mac版本2. 解压后放在自己想放的文件夹中3. 打开terminalcd neo4j cd bin ./neo4j start4. 在浏览器中输入localhost:7474,即可使用5. 首次使用,用户名、密码默认为n...
2017-11-11 15:10:36 7428 1
原创 Angular入门(二)快速入门
想要快点上手Angular的项目,就读了《精通AngularJS》,就第一章快速入门做个笔记。 名字 : Hello {{name}} 1)引入angular.js库 2)使用ng-app的html属性引导 1. 重要特征: 使用自定义的html标签与属性,为静态html文档添加动态行为
2017-11-09 11:47:00 313
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人