自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

xunalove的博客

时间是一个伟大的作者,它会给每个人写出完美的结局来。

  • 博客(14)
  • 资源 (19)
  • 问答 (1)
  • 收藏
  • 关注

原创 Leetcode#257. Binary Tree Paths(二叉树的所有路径)

题目Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \2 3 \ 5All root-to-leaf paths are:["1->2->5", "1->3"]题意给你一个二叉树,输出所

2018-01-29 17:31:25 434

原创 Leetcode#111. Minimum Depth of Binary Tree(二叉树的最小深度)

题目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 leaf node.题意给你一个二叉树,找出他的最小的深度。 最小深度的定义为:从

2018-01-29 16:12:38 195

原创 Leetcode#110. Balanced Binary Tree(判断是否是平衡二叉树)

题目Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as:a binary tree in which the depth of the two subtrees of every node never d

2018-01-29 15:35:36 259

原创 Leetcode#342. Power of Four(4次幂)

题目Given an integer (signed 32 bits), write a function to check whether it is a power of 4.Example: Given num = 16, return true. Given num = 5, return false.Follow up: Could you solve it without

2018-01-29 14:37:40 217

原创 Leetcode#326. Power of Three(3次幂)

题目Given an integer, write a function to determine if it is a power of three.Follow up: Could you do it without using any loop / recursion? 题意判断一个整数是不是3的次幂(不使用任何循环/递归)题解利用对数求解 log3(n)

2018-01-29 14:12:19 428

原创 Leetcode#231. Power of Two(2次幂)

题目Given an integer, write a function to determine if it is a power of two. 题意给你一个整数,判读是否是2的幂次方。题解解法一:简单解法1.特殊考虑1和0 2.一个数除2无非就有两个结果: (1)能除尽,除不尽 (2)能除尽: 商为1(最后一步,2/2=

2018-01-29 13:00:27 256

原创 Leetcode#176. Second Highest Salary(第二高薪水 - SQL语句)

题目Write a SQL query to get the second highest salary from the Employee table.+----+--------+| Id | Salary |+----+--------+| 1 | 100 || 2 | 200 || 3 | 300 |+----+--------+For e

2018-01-27 17:46:57 1312 1

原创 Leetcode#171. Excel Sheet Column Number(Excel表列号--进制转换)

题目Related to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A -> 1 B -> 2 C -> 3 ...

2018-01-27 17:34:37 275

原创 Leetcode#168. Excel Sheet Column Title(Excel表列名--进制转换)

题目Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB 题意

2018-01-27 17:19:18 252

原创 Leetcode#125. Valid Palindrome(合法的回文串)

题目Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example, “A man, a plan, a canal: Panama” is a palindrome. “race a car” is not

2018-01-27 14:50:58 229

原创 Leetcode#122. Best Time to Buy and Sell Stock II(股票多次买卖的最佳时间--贪心)

题目Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy

2018-01-26 17:26:21 279 1

原创 Leetcode#121. Best Time to Buy and Sell Stock(股票一次买卖的最佳时期---动态规划)

题目Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock

2018-01-26 16:18:40 267

原创 Leetcode#119. Pascal's Triangle II(杨辉三角II)

题目Given an index k, return the kth row of the Pascal’s triangle.For example, given k = 3, Return [1,3,3,1].Note: Could you optimize your algorithm to use only O(k) extra space? 题意给你一个下标k

2018-01-24 20:39:19 209

原创 Leetcode#118. Pascal's Triangle(杨辉三角I)

118. Pascal’s TriangleGiven numRows, generate the first numRows of Pascal’s triangle.For example, given numRows = 5, Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]]解法

2018-01-24 19:37:26 273

计算机组成原理

主要包含专业课计算机组成原理的重点和书上部分习题以及答案的详解

2018-02-05

mysql-connector-java-5.1.25.zip

一个jar包而已,赋值外界与数据的连接接口。 如:mysql-connector-java-5.1.15-bin.jar 放到lib中,然后就能jdbc连接数据库啦。

2017-10-15

weather.exe

桌面版python 获取未来七天的天气情况

2017-07-07

shut.exe

Python实现Windows定时关机 打包后的文件,可直接下载双击打开使用

2017-07-05

Sublime Text Build 3126 x64.zip

Sublime Text Build 3126 x64.zip

2017-07-05

PyQt5-5.4-gpl-Py3.4-Qt5.4.0-x64

python

2017-07-05

python-3.4.3

python

2017-07-05

贪吃蛇游戏

C++ ,MFC

2017-06-26

基于asp.net的博客开发系统

本系统是我参考网上一位大神做的本学期的ASP.NET的课程设计。其中完善了插入文章的功能

2017-06-18

JAVA贪吃蛇

java课程设计,有完整代码和课程报告

2017-06-18

员工信息管理系统

.NET书,第十三章完整可运行代码和文档

2017-06-18

C语言 数字游戏

大一实训作业,有代码和文档,供大一学生学习。

2017-06-18

火车订票系统

这是我大一下学期C实训做的火车订票系统,有完整的代码和报告,供大家使用

2017-06-18

msvcr120.dll 官方下载

用于解决:无法启动此程序,因为计算机丢失MSVCR120.dll问题

2017-06-01

java学生学生信息界面

这是我用java+window builder做的界面设计

2017-05-25

java小程序之简单学生信息录入界面

这是我用java控件windows builder完成的一个简易的学生信息录入界面设计

2017-05-25

简单员工管理系统

2017-03-19

2016数据结构期末复习资料下

自己总结的数据结构期末复习资料,希望对你们有帮助。

2017-01-13

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除