MySql必知必会 2017-12-21 意义:记录个人不注意的,或不明确的,或不知道的细节方法技巧,此书250页 登陆: mysql -u root-p -h myserver -P 9999 SHOW STATUS,用于显示广泛的服务器状态信息 DESCRIBE tableName;是SHOW ...
分类:
数据库 时间:
2017-12-18 12:28:49
阅读次数:
208
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 dept ...
分类:
其他好文 时间:
2017-12-18 12:09:53
阅读次数:
132
给定一个数将其转换为二进制(均用字符串表示),如果这个数的小数部分不能在 32 个字符之内来精确地表示,则返回 "ERROR"。 样例 n = "3.72", 返回 "ERROR". n = "3.5", 返回 "11.1" 思路: 将n转化为整数部分与小数部分,分别转化成字符串形式再相加,用到 s ...
分类:
其他好文 时间:
2017-12-18 11:59:52
阅读次数:
261
一、配置登录密码和账户 在myeclipse居然配置成功了,可以登录后台了: 用Notepad打开服务器配置文件,来修改端口,感觉寻找非常快 tomcat 初始管理用户和密码 tomcat 安装完成后,或者是binary版本的,当启动tomcat服务,登陆到管理界面的时候,会让你输入用户名和密码。但 ...
分类:
其他好文 时间:
2017-12-17 22:15:16
阅读次数:
132
博主在使用Code::Blocks创建一个工程之后,正准备新建一个头文件,细心的博主发现,在工程文件夹中有两个子文件夹,分别是bin和obj。好奇心驱使下,想知道这两个文件夹用来干嘛的,网上搜了下,整合如下: 首先bin是binary(二进制)的简写,obj是object(推测翻译成对象)的简写。b ...
分类:
编程语言 时间:
2017-12-17 10:54:39
阅读次数:
149
题目: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. For example, given the follo ...
分类:
编程语言 时间:
2017-12-16 21:16:37
阅读次数:
210
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F ...
分类:
其他好文 时间:
2017-12-16 19:49:06
阅读次数:
181
题目: Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible represen ...
分类:
编程语言 时间:
2017-12-15 21:35:06
阅读次数:
216
1. 二叉树 (Binary Tree)是一种特殊的树型结构,每个节点至多有两棵子树,且二叉树的子树有左右之分,次序不能颠倒。2. 特点(1)在二叉树中的第i层上至多有2^(i-1)个结点。(2)深度为k的二叉树至多有2^k-1个节点(k>=1)。(3)对任何一棵二叉树T,如果其终端结点数目为n0, ...
分类:
其他好文 时间:
2017-12-15 15:38:58
阅读次数:
92
1、html页面代码: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } ul li{ float: le ...
分类:
Web程序 时间:
2017-12-15 12:35:54
阅读次数:
197