- 博客(6)
- 收藏
- 关注
原创 python 搭建简易博客详细教程
最近想搞个个人主页所以来学习下django,过程还是非常简单的,耐心操作,其中的原理也大概能猜出来1.下载djangosudo pip install django 用的是1.10.1,大于1.7都行2.创建工程 在当前目录下输入 django-admin.py startproject blogsiteblogsite 为文件夹名字3.设置管理界面 创建一个blog应用 在blogsite
2017-07-08 12:17:58 1623
转载 欢迎使用CSDN-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2017-07-08 11:05:28 513
原创 (leetcode)Path Sum III 挺有意思的一题
原题地址 https://leetcode.com/problems/path-sum-iii/#/descriptionYou are given a binary tree in which each node contains an integer value.Find the number of paths that sum to a given value.T
2017-07-04 21:01:18 211
原创 利用python and or,if else 简化代码
原题是这样的链接:https://leetcode.com/problems/merge-two-binary-trees/#/descriptionGiven two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are
2017-07-01 18:56:24 2169
原创 (leetcode) Keyboard Row
Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. take your keyboard as an example You may us
2017-05-11 15:06:23 265
原创 (leetcode)位运算 Number Complement
题目是实现将一个int 型数转化,转化方式如下:如 5 是 101 翻转后是 010 也就是2如 8 是 1000 翻转后是 0111 也就是7实现方法一:int findComplement(int num) { unsigned mask=~0; while(mask&num) mask return
2017-05-10 22:50:42 233
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人